KVStore class
A simple key-value store that can be used to store any type of primitive.
KVStore is a wrapper around a JsonFileStore that stores a single Storable object. KVStore is not intended to be used for large data sets.
Constructors
Properties
Methods
-
clear(
) → void -
delete(
String id) → void -
get<
T> (String id) → T? -
listen<
T> (String id) → Stream< T?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save<
T> (String id, T value) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited