withAddedExtra

fun <T : Any, W : WithExtraProperties<T>> W.withAddedExtra(vararg extra: ExtraProperty<T>): T

Appends the given extra property to the given object.

Return

a new instance of this object with the added extra properties

Parameters

extra

the extra properties to add