Abstract interface for a key-value store.
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
-
delete(
List< K> keys) → Future<void> - Deletes the given keys.
-
get(
List< K> keys) → Future<List< V?> > - Returns the values associated with the given keys.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
List< (K, V)> keyValuePairs) → Future<void> - Sets the given key-value pairs.
-
toString(
) → String -
A string representation of this object.
inherited
-
yieldKeys(
{String? prefix}) → Stream< K> - Returns a stream that emits all the keys that match the given prefix.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited