SignalsKeyValueStore class abstract

An abstract class that defines the contract for a key-value store to be used with PersistedSignal.

Constructors

SignalsKeyValueStore()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getItem(String key) Future<String?>
Gets an item from the store.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeItem(String key) Future<void>
Removes an item from the store.
setItem(String key, String value) Future<void>
Sets an item in the store.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

defaultStore SignalsKeyValueStore
The default store to be used if no store is provided.
getter/setter pair