InMemoryCache class

Implemented types
Implementers

Constructors

InMemoryCache({FutureOr<String> storagePrefix: ''})

Properties

data ↔ HashMap<String, dynamic>
@protected, read / write
storagePrefix → FutureOr<String>
For web/browser, storagePrefix is a prefix to the key for window.localStorage [...]
final
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
read(String key) → dynamic
inherited
reset() → void
inherited
restore() → void
inherited
save() → Future<void>
inherited
toString() → String
Returns a string representation of this object.
inherited
write(String key, dynamic value) → void
inherited

Operators

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