MemoryStorage class Null safety

A class allowing the storage of key value pairs in memory only

Constructors

MemoryStorage()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
store Map<String, dynamic>
The map to store key value pairs in memory
read / write

Methods

clear() Future<void>
Clear the memory store
get(String key) → dynamic
Get the value for a key if stored in memory
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove(String key) Future<void>
Remove a key value pair
set(String key, dynamic value) Future<void>
Sets a key value pair in memory
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited