InMemoryStoreBackend class
In-memory backend, for tests and for a host that opts out of persistence.
- Implemented types
Constructors
-
InMemoryStoreBackend([Map<
String, String> ? initial]) -
Creates a backend, optionally pre-seeded with
initial.
Properties
Methods
-
delete(
String key) → Future< void> -
Removes one key.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readAll(
) → Future< Map< String, String> > -
Reads every key this backend holds.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
Writes one key.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited