MemoryStorage class
MemoryStorage is mainly used for testing
- Inheritance
-
- Object
- DirectusStorage
- MemoryStorage
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
-
getItem(
String key) → Future< Object?> -
Get item from storage
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeItem(
String key) → Future< void> -
Remove item from storage
override
-
setItem(
String key, Object value) → Future< void> -
Set item to storage
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited