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,
        autodeleteAnonymousUsers:
            json_.containsKey('autodeleteAnonymousUsers')
                ? json_['autodeleteAnonymousUsers'] as core.bool
                : 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,
        emailPrivacyConfig: json_.containsKey('emailPrivacyConfig')
            ? GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig.fromJson(
                json_['emailPrivacyConfig']
                    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,
        passwordPolicyConfig: json_.containsKey('passwordPolicyConfig')
            ? GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig.fromJson(
                json_['passwordPolicyConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        quota: json_.containsKey('quota')
            ? GoogleCloudIdentitytoolkitAdminV2QuotaConfig.fromJson(
                json_['quota'] as core.Map<core.String, core.dynamic>)
            : null,
        recaptchaConfig: json_.containsKey('recaptchaConfig')
            ? GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.fromJson(
                json_['recaptchaConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        signIn: json_.containsKey('signIn')
            ? GoogleCloudIdentitytoolkitAdminV2SignInConfig.fromJson(
                json_['signIn'] as core.Map<core.String, core.dynamic>)
            : null,
        smsRegionConfig: json_.containsKey('smsRegionConfig')
            ? GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig.fromJson(
                json_['smsRegionConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        subtype: json_.containsKey('subtype')
            ? json_['subtype'] as core.String
            : null,
      );