Oauth2ClientCredentials.fromJson constructor

Oauth2ClientCredentials.fromJson(
  1. Map json_
)

Implementation

Oauth2ClientCredentials.fromJson(core.Map json_)
    : this(
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        clientSecret: json_.containsKey('clientSecret')
            ? Secret.fromJson(
                json_['clientSecret'] as core.Map<core.String, core.dynamic>)
            : null,
      );