DittoCacheManager class

Constructors

DittoCacheManager.instance()
factory

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

deleteCache() → Future<void>
getFile(String name) → Future<Map<String, dynamic>?>
Returns a previously saved file under name with the function DittoCacheManager.store
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
store(String key, Map<String, dynamic> json, {Duration maxAge = const Duration(hours: 10)}) → Future<void>
Stores the data contained in json under the key specified
toString() → String
A string representation of this object.
inherited

Operators

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