MemorySecureStore class
In-memory SecureStore. Values are lost when the app closes, so it is meant for tests and for platforms without secure storage where losing the value on restart is acceptable.
- Implemented types
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
-
delete(
String key) → Future< void> -
Removes
key.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String key) → Future< String?> -
Returns the stored value for
key, ornullwhen there is none.override -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String key, String value) → Future< void> -
Stores
valueunderkey, replacing any previous value.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited