LocalCacheLoader class

用于读取特定Channel的loader类,实现了增删查改方法

Implementers

Constructors

LocalCacheLoader(String channel, {CacheType? type = CacheType.json})

Properties

all List<LocalCacheObject>
no setter
cacheInfo CacheInfo
统计缓存信息
no setter
channel String
final
directory Directory
no setter
directoryPath Uri
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type CacheType?
final

Methods

clearAll() → void
deleteById(String id) LocalCacheObject
getById(String id) LocalCacheObject
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveById(String id, Map<String, dynamic> value) LocalCacheObject
saveByIdAsync(String id, Map<String, dynamic> value) LocalCacheObject
toString() String
A string representation of this object.
inherited

Operators

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