GoogleCloudRecaptchaenterpriseV1ChallengeRule.fromJson constructor

GoogleCloudRecaptchaenterpriseV1ChallengeRule.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1ChallengeRule.fromJson(core.Map json_)
  : this(
      challenge: json_.containsKey('challenge')
          ? GoogleCloudRecaptchaenterpriseV1ChallengeRuleChallengeOutcome.fromJson(
              json_['challenge'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      condition: json_['condition'] as core.String?,
      noChallenge: json_.containsKey('noChallenge')
          ? GoogleCloudRecaptchaenterpriseV1ChallengeRuleNoChallengeOutcome.fromJson(
              json_['noChallenge'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );