InMemoryStorage class
InMemoryStore storage
- Inheritance
-
- Object
- CoreStorage
- InMemoryStorage
Constructors
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
-
clear(
) → Future< bool> -
Clear items
override
-
create(
String key, String item) → Future< bool> -
save
item
inkey
if missingoverride -
delete(
String key) → Future< bool> -
delete
item
override -
getAll(
) → Future< List< String> > -
regturns all saved flags
List<Flag>
override -
init(
) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
read saved by
id
Retruns Flag ornull
override -
seed(
List< MapEntry< ? items) → Future<String, String> >bool> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String key, String item) → Future< bool> -
update or create
item
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited