AuthResponse class

Annotations

Constructors

AuthResponse(String accessToken, String refreshToken, int expiresIn, String tokenType)
AuthResponse.fromJson(Map<String, dynamic> json)
factory

Properties

accessToken String
@JsonKey(name: 'access_token'), read / write
expiresIn int
@JsonKey(name: 'expires_in'), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
refreshToken String
@JsonKey(name: 'refresh_token'), read / write
responseCreatedDate int
read / write
responseType int
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tokenType String
@JsonKey(name: 'token_type'), read / write

Methods

fromMap(Map<String, dynamic> map) → void
isTokenValid() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

responseClient → const int
2
responseUser → const int
1