LocalCacheObject class

Implementers

Constructors

LocalCacheObject(String id, {CacheType type = CacheType.json, String channel = r'_$DefaultChannel', Map<String, dynamic>? value})

Properties

byteValue Uint8List?
no setter
channel String
getter/setter pair
file File
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
final
isCache bool
no setter
jsonValue Map<String, dynamic>?
no setter
path Uri
no setter
plainTextValue String?
no setter
realId String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type CacheType
final
value Map<String, dynamic>?
no setter

Methods

clear() → dynamic
delete() → void
deleteAsync() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readAsync() Future<Map<String, dynamic>?>
readJson() Map<String, dynamic>?
saveAsJson() File
saveAsync() Future<File>
toString() String
A string representation of this object.
inherited

Operators

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