UserDefaultCacheObject class

保存用户数据,使用特殊路径

Inheritance

Constructors

UserDefaultCacheObject(String id, [String channel = r'_$DefaultChannel', Map<String, dynamic>? value])

Properties

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

Methods

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

Operators

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