OAuthConfig.fromJson constructor
OAuthConfig.fromJson(
- Map json_
Implementation
OAuthConfig.fromJson(core.Map json_)
: this(
clientId: json_['clientId'] as core.String?,
clientSecretVersion: json_['clientSecretVersion'] as core.String?,
oauthGrantType: json_['oauthGrantType'] as core.String?,
scopes: (json_['scopes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
tokenEndpoint: json_['tokenEndpoint'] as core.String?,
);