GoogleCloudRecaptchaenterpriseV1WebKeySettings.fromJson constructor

GoogleCloudRecaptchaenterpriseV1WebKeySettings.fromJson(
  1. Map json_
)

Implementation

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