CacheStrategy class abstract

Implementers

Constructors

CacheStrategy.new()

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

Operators

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

Constants

defaultTTLValue → const int