CacheSQLImpL class
数据库本地缓存sqlite
- Inheritance
-
- Object
- CacheInterfaces
- CacheSQLImpL
Constructors
- CacheSQLImpL(DatabaseSql? databaseSql)
Properties
- databaseSql ↔ DatabaseSql?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → Future< bool?> -
清楚缓存,默认返回false 操作成功返回true
override
-
getCache(
String? path, Map< String, dynamic> ? params) → Future<String?> -
获取缓存
@param path
@param params 指定请求参数
@return 返回Future对象,否则返回null
override
-
getCacheKayFromPath(
String? path, Map< String, dynamic> ? params) → String -
获取cacheKeyFromPath 根据请求地址和参数生成缓存key
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCache(
String path, Map< String, dynamic> ? params, String value) → void -
保存缓存,
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited