Token.fromJson constructor
Implementation
Token.fromJson(Map<String, dynamic> json) {
token_type = json['token_type'] ?? 'bearer';
access_token = json['access_token'];
expires_in = json['expires_in'];
expires_at = json['expires_at'];
refresh_token = json['refresh_token'];
}