GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.fromJson constructor

GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1SmsTollFraudVerdict.fromJson(core.Map json_)
    : this(
        reasons: json_.containsKey('reasons')
            ? (json_['reasons'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        risk: json_.containsKey('risk')
            ? (json_['risk'] as core.num).toDouble()
            : null,
      );