HiveLocalStorage class

A LocalStorage implementation that implements Hive as the storage method.

Inheritance

Constructors

HiveLocalStorage()
Creates a LocalStorage instance that implements the Hive Database
const

Properties

accessToken Future<String?> Function()
Get the access token from the current persisted session.
finalinherited
hasAccessToken Future<bool> Function()
Check if there is a persisted session.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
initialize Future<void> Function()
Initialize the storage to persist session.
finalinherited
persistSession Future<void> Function(String)
Persist a session in the device.
finalinherited
removePersistedSession Future<void> Function()
Remove the current persisted session.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

encryptionKey String?
The encryption key used by Hive. If null, the box is not encrypted
getter/setter pair