getProperty

fun <T> getProperty(propertyId: String): Property<T>?(source)

Retrieves a custom property by name.

Note: Due to type erasure, the type parameter T cannot be verified at runtime. Callers are responsible for ensuring they request the correct type.

Return

the property with the specified name

Parameters

propertyId

the name of the property to retrieve