HiveJsonStore<T> class Null safety

Inheritance

Constructors

HiveJsonStore(dynamic toJson(T object), T fromJson(dynamic value))

Properties

box Box<String>
late, final, inherited
decode → T Function(String value)
final, inherited
defaultValue FutureOr<T> Function()
read / write, inherited
encode String Function(T object)
final, inherited
fromJson → T Function(dynamic value)
final
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
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 non-existent 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