StorageKey

class StorageKey<T>(val storage: IStorage, val key: String, val serialize: (T) -> String, val deserialize: (String?) -> T) : IStorageKey<T>

Constructors

Link copied to clipboard
constructor(storage: IStorage, key: String, serialize: (T) -> String, deserialize: (String?) -> T)

Properties

Link copied to clipboard
val deserialize: (String?) -> T
Link copied to clipboard
open override val isDefined: Boolean
Link copied to clipboard
val key: String
Link copied to clipboard
val serialize: (T) -> String
Link copied to clipboard
Link copied to clipboard
open override var value: T

Functions

Link copied to clipboard
open operator fun getValue(t: Any?, property: KProperty<*>): T
Link copied to clipboard
open operator fun setValue(t: Any?, property: KProperty<*>, value: T)