GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment.fromJson constructor

GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment.fromJson(
    core.Map json_)
    : this(
        error: json_.containsKey('error')
            ? GoogleRpcStatus.fromJson(
                json_['error'] as core.Map<core.String, core.dynamic>)
            : null,
        firewallPolicy: json_.containsKey('firewallPolicy')
            ? GoogleCloudRecaptchaenterpriseV1FirewallPolicy.fromJson(
                json_['firewallPolicy']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );