toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['access_token'] = accessToken;
data['expires_in'] = expiresIn;
data['token_type'] = tokenType;
data['scope'] = scope;
data['error'] = error;
return data;
}