HiveStringStore<T> class
- Inheritance
-
- Object
- PersistentBlopStore<
T> - HiveStringStore
- Implementers
Constructors
- HiveStringStore({required String encode(T object), required T decode(String value)})
Properties
-
box
↔ Box<
String> -
latefinal
- decode → T Function(String value)
-
final
-
defaultValue
↔ FutureOr<
T> Function() -
getter/setter pair
- encode → String Function(T object)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 nonexistent 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