KeyValueStore class abstract

A tiny async key/value store. The Flutter layer provides one backed by flutter_secure_storage (token) and one by shared_preferences.

Implementers

Constructors

KeyValueStore()

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(String key) → Future<String?>
Reads key, or null when absent.
toString() → String
A string representation of this object.
inherited
write(String key, String value) → Future<void>
Writes value under key.

Operators

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