HiveBlopStore<T> class Null safety

Create box for each blopName, and store single value at 0 index with hive serialization

Inheritance

Constructors

HiveBlopStore()

Properties

box Box<T>
late, final
defaultValue FutureOr<T> Function()
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

init(FutureOr<T> defaultValue(), String blopName) Future<void>
init call lazy only once before call load or save
override
load() Future<T>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
save(T newValue) Future<T>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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