set

abstract operator fun <T : Any> set(key: KeyValueStorage.Key<T>, value: T?)

Stores the passed value for the given key. If the value is null, the key-value pair is removed from the storage.