MemoryCacheStore class
- Implemented types
Constructors
- MemoryCacheStore({int maxSize = 100})
Properties
Methods
-
clear(
) → Future< void> -
override
-
get(
String key) → Future -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remember<
T> (String key, Duration ttl, Future< T> loader()) → Future<T> -
override
-
remove(
String key) → Future< void> -
override
-
removeMany(
Iterable< String> keys) → Future<void> -
override
-
removeWhere(
bool shouldRemove(String key)) → Future< void> -
override
-
set(
String key, dynamic value, {Duration? ttl}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited