inline operator fun <T> ExtraPropertiesExtension.invoke(initialValueProvider: () -> T): InitialValueExtraPropertyDelegateProvider<T>
Returns a property delegate provider that will initialize the extra property to the value provided by initialValueProvider.
Usage: val answer by extra { 42 }
operator fun <T> ExtraPropertiesExtension.invoke(initialValue: T): InitialValueExtraPropertyDelegateProvider<T>
Returns a property delegate provider that will initialize the extra property to the given initialValue.
Usage: val answer by extra(42)