HiveJsonStore<T> class
- Inheritance
-
- Object
- PersistentBlopStore<
T> - HiveStringStore<
T> - HiveJsonStore
Constructors
- HiveJsonStore(dynamic toJson(T object), T fromJson(dynamic value))
Properties
-
box
↔ Box<
String> -
latefinalinherited
- decode → T Function(String value)
-
finalinherited
-
defaultValue
↔ FutureOr<
T> Function() -
getter/setter pairinherited
- encode → String Function(T object)
-
finalinherited
- fromJson → T Function(dynamic value)
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJson → dynamic Function(T object)
-
final
Methods
-
init(
FutureOr< T> defaultValue(), String blopName) → Future<void> -
init call lazy only once before call load or save
inherited
-
load(
) → Future< T> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
T newValue) → Future< T> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited