HiveBoxProvider class

Inheritance

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

close() Future<void>
containsKey(String key) bool
Checks whether the key value storage contains the key.
override
delete(String key) Future<void>
Deletes the given key
override
get(String key, {dynamic defaultValue}) → dynamic
Returns the value associated with the given key. If the key does not exist, null is returned.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(String key, dynamic value) Future<void>
Saves the key - value pair.
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

createAndInit({required String boxName}) Future<HiveBoxProvider>
dispose() Future<void>
getInstance({required String boxName}) HiveBoxProvider