GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitAdminV2OAuthIdpConfig.fromJson(core.Map json_)
    : this(
        clientId: json_.containsKey('clientId')
            ? json_['clientId'] as core.String
            : null,
        clientSecret: json_.containsKey('clientSecret')
            ? json_['clientSecret'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        enabled: json_.containsKey('enabled')
            ? json_['enabled'] as core.bool
            : null,
        issuer: json_.containsKey('issuer')
            ? json_['issuer'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        responseType: json_.containsKey('responseType')
            ? GoogleCloudIdentitytoolkitAdminV2OAuthResponseType.fromJson(
                json_['responseType'] as core.Map<core.String, core.dynamic>)
            : null,
      );