GoogleCloudRecaptchaenterpriseV1RiskAnalysis.fromJson constructor

GoogleCloudRecaptchaenterpriseV1RiskAnalysis.fromJson(
  1. Map json_
)

Implementation

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