MemoryKeyValueStore class

A KeyValueStore held in memory, for tests and non-browser platforms.

Implemented types

Constructors

MemoryKeyValueStore()

Properties

hashCode → int
The hash code for this object.
no setterinherited
keys → Iterable<String>
Every key currently stored.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → String?
The value stored under key, or null when there is none.
override
remove(String key) → void
Remove whatever is stored under key.
override
toString() → String
A string representation of this object.
inherited
write(String key, String value) → void
Store value under key, replacing any earlier value.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited