TokenStorage<T> class Null safety

An interface which must be implemented to read, write, and delete the Token.

Implementers

Constructors

TokenStorage()

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete() Future<void>
Deletes the stored token asynchronously.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
read() Future<T?>
Returns the stored token asynchronously.
toString() String
A string representation of this object.
inherited
write(T token) Future<void>
Saves the provided token asynchronously.

Operators

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