TokenStorage<T> class abstract

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

Constructors

TokenStorage.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

delete() Future<void>
Deletes the stored token asynchronously.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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