GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.fromJson constructor
GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.fromJson(
- Map json_
Implementation
GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.fromJson(core.Map json_)
: this(
emailPasswordEnforcementState:
json_['emailPasswordEnforcementState'] as core.String?,
managedRules:
(json_['managedRules'] as core.List?)
?.map(
(value) =>
GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
phoneEnforcementState: json_['phoneEnforcementState'] as core.String?,
recaptchaKeys:
(json_['recaptchaKeys'] as core.List?)
?.map(
(value) =>
GoogleCloudIdentitytoolkitAdminV2RecaptchaKey.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
tollFraudManagedRules:
(json_['tollFraudManagedRules'] as core.List?)
?.map(
(value) =>
GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
useAccountDefender: json_['useAccountDefender'] as core.bool?,
useSmsBotScore: json_['useSmsBotScore'] as core.bool?,
useSmsTollFraudProtection:
json_['useSmsTollFraudProtection'] as core.bool?,
);