GoogleCloudIdentitytoolkitAdminV2Config.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2Config.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitAdminV2Config.fromJson(core.Map _json)
    : this(
        authorizedDomains: _json.containsKey('authorizedDomains')
            ? (_json['authorizedDomains'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        blockingFunctions: _json.containsKey('blockingFunctions')
            ? GoogleCloudIdentitytoolkitAdminV2BlockingFunctionsConfig
                .fromJson(_json['blockingFunctions']
                    as core.Map<core.String, core.dynamic>)
            : null,
        client: _json.containsKey('client')
            ? GoogleCloudIdentitytoolkitAdminV2ClientConfig.fromJson(
                _json['client'] as core.Map<core.String, core.dynamic>)
            : null,
        mfa: _json.containsKey('mfa')
            ? GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig.fromJson(
                _json['mfa'] as core.Map<core.String, core.dynamic>)
            : null,
        monitoring: _json.containsKey('monitoring')
            ? GoogleCloudIdentitytoolkitAdminV2MonitoringConfig.fromJson(
                _json['monitoring'] as core.Map<core.String, core.dynamic>)
            : null,
        multiTenant: _json.containsKey('multiTenant')
            ? GoogleCloudIdentitytoolkitAdminV2MultiTenantConfig.fromJson(
                _json['multiTenant'] as core.Map<core.String, core.dynamic>)
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
        notification: _json.containsKey('notification')
            ? GoogleCloudIdentitytoolkitAdminV2NotificationConfig.fromJson(
                _json['notification'] as core.Map<core.String, core.dynamic>)
            : null,
        quota: _json.containsKey('quota')
            ? GoogleCloudIdentitytoolkitAdminV2QuotaConfig.fromJson(
                _json['quota'] as core.Map<core.String, core.dynamic>)
            : null,
        signIn: _json.containsKey('signIn')
            ? GoogleCloudIdentitytoolkitAdminV2SignInConfig.fromJson(
                _json['signIn'] as core.Map<core.String, core.dynamic>)
            : null,
        subtype: _json.containsKey('subtype')
            ? _json['subtype'] as core.String
            : null,
      );