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
-
evict({required String key})
→ Future<void>
-
Removes the file from the cache.
-
get({required String key})
→ Future<Uint8List?>
-
Retrieves the data cached under the spefied key if available, null otherwise.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
put({required String key, required Uint8List bytes, Duration maxAge = const Duration(days: 30)})
→ Future<void>
-
Adds the specified data to the cache under the specified key.
-
toString()
→ String
-
A string representation of this object.
inherited