CacheStore class abstract

Stores cached response payloads for offline GET fallbacks.

Implementers

Constructors

CacheStore.new()

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<void>
Removes all cached values.
get(String key) Future<Object?>
Retrieves a previously cached value for key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String key, Object? value) Future<void>
Saves value under key.
remove(String key) Future<void>
Removes the cached value for key.
toString() String
A string representation of this object.
inherited

Operators

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