CacheOrAsyncStrategy class
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
-
applyStrategy<T>(AsyncFunc<T> asyncFunc, String key, SerializerFunc<T> serializerFunc, int ttlValue, Storage storage)
→ Future<T?>
-
override
-
fetchCacheData<T>(String key, SerializerFunc serializerFunc, Storage storage, {bool keepExpiredCache = false, int ttlValue = defaultTTLValue})
→ Future<T?>
-
inherited
-
invokeAsync<T>(AsyncFunc<T> asyncFunc, String key, Storage storage)
→ Future<T>
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited