GoogleCloudRecaptchaenterpriseV1Policy.fromJson constructor

GoogleCloudRecaptchaenterpriseV1Policy.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1Policy.fromJson(core.Map json_)
  : this(
      challengeRuleGroups: (json_['challengeRuleGroups'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudRecaptchaenterpriseV1ChallengeRuleGroup.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      clientSettings: json_.containsKey('clientSettings')
          ? GoogleCloudRecaptchaenterpriseV1ClientSettings.fromJson(
              json_['clientSettings'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      name: json_['name'] as core.String?,
    );