StorageController class abstract

Constructors

StorageController.hive(String? storageName, {HiveCipher? encryptionCipher, bool crashRecovery = true, Uint8List? bytes})
StorageController.sharedPreferences()

Properties

hashCode int
The hash code for this object.
no setterinherited
isInitialized Future<bool>
no setter
method StorageMethod
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storageRuntimeType Type
no setter
values Future<Map<String, dynamic>>
Getter to access all stored values.
no setter

Methods

delete(String key) Future<void>
Getter to access delete value based on a key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read<T>({required String key}) Future<T?>
Getter to access read value based on a key.
toString() String
A string representation of this object.
inherited
wipe() Future<void>
Getter to access wipe storage data
write<T>({required String key, required T value}) Future<void>
Getter to access write value based on a key.

Operators

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

Static Methods

prepareForTests() → void
setup([String? subDir]) Future<void>
Required for usage with Hive library