InMemoryTaskCacheProvider class
A default in-memory implementation of LevitTaskCacheProvider.
- Implemented types
Constructors
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.override -
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.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, Map< String, dynamic> data) → Future<void> -
Writes
datato the cache underkey.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited