GoogleCloudIdentitytoolkitV2RecaptchaConfig.fromJson constructor

GoogleCloudIdentitytoolkitV2RecaptchaConfig.fromJson(
  1. Map json_
)

Implementation

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