addProperty

fun addProperty(property: Property<*>): Feature(source)

Returns a new Feature instance with the given property added to customProperties.

If a property with the same name already exists, it will be replaced.

Return

a copy of this feature with the property added

Parameters

property

the property to add