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
-
boxAction(
CacheBaseBoxHandle< E> handle) → Future<void> -
closeBox(
) → Future< void> -
deleteByKey(
dynamic key) → 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
-
updateAllValue(
ValueCopyWith< E> update) → Future<void> - 修改全部
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited