GoogleCloudIdentitytoolkitV2RecaptchaConfig.fromJson constructor

GoogleCloudIdentitytoolkitV2RecaptchaConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIdentitytoolkitV2RecaptchaConfig.fromJson(core.Map json_)
  : this(
      recaptchaEnforcementState:
          (json_['recaptchaEnforcementState'] as core.List?)
              ?.map(
                (value) =>
                    GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
      recaptchaKey: json_['recaptchaKey'] as core.String?,
      useSmsBotScore: json_['useSmsBotScore'] as core.bool?,
      useSmsTollFraudProtection:
          json_['useSmsTollFraudProtection'] as core.bool?,
    );