String-based secure-storage abstraction.
This interface intentionally does not choose a platform plugin. Applications can adapt their preferred secure-storage implementation without Sixplace imposing native configuration or reducing platform compatibility.
- Implementers
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 every secret owned by this store.
-
containsKey(
String key) → Future< bool> -
Returns whether
keyexists. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
Reads a secret string, or null when
keydoes not exist. -
remove(
String key) → Future< void> -
Removes
keyif present. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> - Writes a secret string.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited