Oauth2Token.fromMap constructor
Implementation
factory Oauth2Token.fromMap(Map<String, dynamic> map) {
return Oauth2Token(
access_token: map['access_token'].toString(),
token_type: map['token_type'].toString(),
expires_in: map['expires_in'],
refresh_token: map['refresh_token'].toString(),
scope: map['scope'].toString(),
authorization_details: map['authorization_details']?.toString(),
id_token: map['id_token']?.toString(),
);
}