OAuthResponse class
Constructors
-
OAuthResponse.fromJson(Map<
String, dynamic> json) -
Returns the new instance of OAuthResponse from
json
.factory
Properties
- accessToken → String
-
The access token.
final
- expireAt → DateTime
-
The expiration date.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- isExpired → bool
-
Returns true if the access token is expired, otherwise false.
no setter
- isNotExpired → bool
-
Returns true if the access token is valid, otherwise false.
no setter
- refreshToken → String?
-
The refresh token.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
Scope> -
The authorized scopes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override