Abstract base class for cache storage.
- Implementers
Constructors
- CacheStorage.new()
-
Abstract base class for cache storage.
const
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
-
fetch(
) → FutureOr< T?> - Fetches the cached value from the storage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
T value) → FutureOr< void> - Updates the cache storage with the provided value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited