OAuth2Configuration.fromJson constructor
Implementation
factory OAuth2Configuration.fromJson(Map<String, dynamic> json) {
return OAuth2Configuration(
clientID: json['client_id'],
authorizationEndpoint: json['authorizationEndpoint'],
tokenEndpoint: json['tokenEndpoint'],
clientSecret: json['clientSecret'],
scopes: List<String>.from(json['scopes']),
);
}