CacheBase<E> class
abstract
- Implementers
Constructors
Properties
- boxName → String
-
no setter
- defaultBoxName → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
closeBox(
) → Future< void> -
getValue(
String key, {E? defaultValue}) → Future< E?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openBox(
) → Future< Box< E> > -
saveAndUpdate(
E handle(E? oldValue), [String key = 'default', E? defaultValue]) → Future< E> -
setValue(
String key, E value) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited