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,
      );