HiveStore<T> class
Create box for each blopName, and store single value at 0 index with hive serialization
- Inheritance
-
- Object
- PersistentStore<
T> - HiveStore
- Implemented types
Properties
-
box
↔ Box<
T> -
latefinal
- boxName → String
-
final
-
defaultValue
↔ FutureOr<
T> Function() -
getter/setter pairoverride-getter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
override
-
init(
) → Future< void> -
init call lazy only once before call load or save
by default do nothing
override
-
load(
) → Future< T> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → Future< void> -
override
-
save(
T newValue) → Future< T> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited