StorageController class Null safety

Constructors

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

Properties

hashCode int
The hash code for this object.
read-onlyinherited
isInitialized Future<bool>
read-only
method StorageMethod
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
storageRuntimeType Type
values Future<Map<String, dynamic>>
Getter to access all stored values.
@mustCallSuperread-only

Methods

delete(String key) Future<void>
Getter to access delete value based on a key.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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