InMemoryTokenStorage<T> class

A TokenStorage implementation that keeps the token in memory.

Implemented types

Constructors

InMemoryTokenStorage()

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.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → Future<T?>
Returns the stored token asynchronously.
override
toString() → String
A string representation of this object.
inherited
write(T token) → Future<void>
Saves the provided token asynchronously.
override

Operators

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