LevitTaskCacheProvider class abstract
Interface for persistent task result caching.
- Implementers
Constructors
- LevitTaskCacheProvider()
-
Base constructor.
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
-
delete(
String key) → Future< void> -
Deletes cached data for
key. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< Map< String, dynamic> ?> -
Reads cached data for
key. Returnsnullif not found. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, Map< String, dynamic> data) → Future<void> -
Writes
datato the cache underkey.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited