GoogleCloudRecaptchaenterpriseV1WebKeySettings.fromJson constructor
GoogleCloudRecaptchaenterpriseV1WebKeySettings.fromJson(
- Map json_
Implementation
GoogleCloudRecaptchaenterpriseV1WebKeySettings.fromJson(core.Map json_)
: this(
allowAllDomains: json_['allowAllDomains'] as core.bool?,
allowAmpTraffic: json_['allowAmpTraffic'] as core.bool?,
allowedDomains:
(json_['allowedDomains'] as core.List?)
?.map((value) => value as core.String)
.toList(),
challengeSecurityPreference:
json_['challengeSecurityPreference'] as core.String?,
challengeSettings:
json_.containsKey('challengeSettings')
? GoogleCloudRecaptchaenterpriseV1WebKeySettingsChallengeSettings.fromJson(
json_['challengeSettings']
as core.Map<core.String, core.dynamic>,
)
: null,
integrationType: json_['integrationType'] as core.String?,
);