Credential.fromJson constructor
Implementation
Credential.fromJson(Map<String, dynamic> json, {http.Client? httpClient})
: this._(
Client(
Issuer(OpenIdProviderMetadata.fromJson(
(json['issuer'] as Map).cast())),
json['client_id'],
clientSecret: json['client_secret'],
httpClient: httpClient),
TokenResponse.fromJson((json['token'] as Map).cast()),
json['nonce']);