CacheInterfaces class abstract
- Implementers
Constructors
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
-
clearCache(
) → Future< bool?> - 清楚缓存,默认返回false 操作成功返回true
-
getCache(
String? path, Map< String, dynamic> ? params) → Future<String?> - 获取缓存 @param path @param params 指定请求参数 @return 返回Future对象,否则返回null
-
getCacheKayFromPath(
String? path, Map< String, dynamic> ? params) → String - 获取cacheKeyFromPath 根据请求地址和参数生成缓存key
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveCache(
String path, Map< String, dynamic> ? params, String value) → void - 保存缓存,
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited