MutableExtraStore

A ExtraStore subclass that allows for data updates.

Constructors

Link copied to clipboard
constructor()

Creates an empty MutableExtraStore.

Functions

Link copied to clipboard
fun clear()

Removes all stored values.

Link copied to clipboard
fun remove(key: ExtraStore.Key<*>)

Removes the value associated with the provided key.

Link copied to clipboard
operator fun <T : Any> set(key: ExtraStore.Key<T>, value: T)

Saves the provided value to this MutableExtraStore, associating the value with the given key.