TokenPair class

Holds the access and refresh tokens for an authenticated session.

Constructors

TokenPair.new({required String accessToken, required String refreshToken})
Creates a token pair.
const

Properties

accessToken String
Token attached to authenticated requests.
final
hashCode int
The hash code for this object.
no setterinherited
refreshToken String
Token used to obtain a new access token.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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