property
fun <OWNER, T : Any> KeyValueStorage.property(key: KeyValueStorage.Key<T>): ReadWriteProperty<OWNER, T?>
Content copied to clipboard
fun <OWNER, T : Any> KeyValueStorage.property(key: KeyValueStorage.Key<T>, defaultValue: T): ReadWriteProperty<OWNER, T>
Content copied to clipboard
A property delegate for the given key. Behaves as using the KeyValueStorage.get and KeyValueStorage.set methods.