InMemoryStorage class

InMemoryStore storage

Inheritance

Constructors

InMemoryStorage()

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 in key if missing
override
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 or null
override
seed(List<MapEntry<String, String>>? items) Future<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