IStorage<T> class abstract

Implementers

Constructors

IStorage()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() Future<void>
close() Future
delete({required String key, bool autoClose = false}) Future<void>
deleteList({required Iterable key, bool autoClose = false}) Future<void>
getData({required String key, bool autoClose = false}) FutureOr<T?>
getLazyListData({bool autoClose = false}) Future<IList<T>?>
getListData({bool autoClose = false}) Future<IList<T>?>
init({String? subdir}) Future<void>
isOpen() bool
lazyListenable({List? keys}) ValueListenable<LazyBox<T>>
listenable({List? keys}) ValueListenable<Box<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openBox(String boxName, {bool useEncryption = true}) Future<Box<T>>
openLazyBox(String boxName, {bool useEncryption = true}) Future<LazyBox<T>>
putData({required Map<dynamic, T> data, bool autoClose = false}) Future<void>
putDatum({required String key, required T value, bool autoClose = false}) Future<void>
putListData({required Iterable<T> dataList, bool autoClose = false}) Future<void>
registerAdapter<S>(TypeAdapter<S> adapter, {bool internal = false, bool override = false}) → void
registerAdapterManual({required dynamic adapter(HiveInterface)}) → void
toString() String
A string representation of this object.
inherited

Operators

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