KeyStore class abstract

An interface for a key-value storage.

Constructors

KeyStore.new()

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>
Clears all stored key pairs and the single seed.
contains(String key) Future<bool>
Checks if a key pair (not a seed) exists in the store for the given key.
get(String key) Future<StoredKey?>
Retrieves the value associated with the given key. Returns null if the key does not exist or stores a seed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(String key) Future<void>
Removes the key pair associated with the given key. Does not affect the seed.
set(String key, StoredKey value) Future<void>
Stores a value associated with the given key.
toString() String
A string representation of this object.
inherited

Operators

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