CacheProviderContract class abstract interface

Properties

hashCode int
The hash code for this object.
no setterinherited
logger LoggerContract
getter/setter pair
name String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() FutureOr<void>
dispose() FutureOr<void>
get(String? key) FutureOr<Map<String, dynamic>?>
getHealth() FutureOr<bool>
getMany(List<String> keys) FutureOr<List<Map<String, dynamic>?>>
getOrFail(String key, {Exception onFail()?}) FutureOr<Map<String, dynamic>>
has(String key) FutureOr<bool>
init() FutureOr<void>
inspect() FutureOr<Map<String, dynamic>>
length() FutureOr<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put<T>(String key, T object) FutureOr<void>
putMany<T>(Map<String, T> object) FutureOr<void>
remove(String key) FutureOr<void>
removeMany(List<String> key) FutureOr<void>
toString() String
A string representation of this object.
inherited
whereKeyStartsWith(String prefix) FutureOr<Map<String, dynamic>?>
whereKeyStartsWithOrFail(String prefix, {Exception onFail()?}) FutureOr<Map<String, dynamic>>

Operators

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