TokenResponse class

Constructors

TokenResponse.fromJson(Map<String, dynamic> json)

Properties

accessToken String
OAuth 2.0 Access Token [...]
read-only
expiresIn Duration
Expiration time of the Access Token since the response was generated.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
idToken IdToken
ID Token
read-only
refreshToken String
Refresh token
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tokenType String
OAuth 2.0 Token Type value [...]
read-only

Methods

getTyped<T>(String key, {T factory(dynamic v)}) → T
Returns the property key as a typed object
inherited
getTypedList<T>(String key, {T factory(dynamic v)}) List<T>
Returns the property key as a typed list
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toBase64EncodedString() String
Returns the base64 representation
inherited
toBytes() List<int>
Returns the bytes representing the encoded JSON
inherited
toJson() Map<String, dynamic>
Returns a JSON representation
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited
operator [](String key) → dynamic
Returns the property key as a core dart value
inherited