VaultStore class abstract
Interface for storing vault data
- Implementers
Constructors
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> - Removes all stored data including account index and seed
-
getAccountIndex(
) → Future< int> - Retrieves the account index from storage.
-
getContentKey(
) → Future< Uint8List?> - Retrieves the key to decrypt content.
-
getRandomSeed(
) → Uint8List - Generates a new random seed of 32 bytes.
-
getSeed(
) → Future< Uint8List?> - Retrieves the stored seed value.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAccountIndex(
int accountIndex) → Future< void> - Stores the account index to storage.
-
setContentKey(
Uint8List key) → Future< void> - Stores the key to decrypt content.
-
setSeed(
Uint8List seed) → Future< void> - Stores the seed value, overwriting any previous seed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited