GoogleCloudRecaptchaenterpriseV1ScoreMetrics.fromJson constructor

GoogleCloudRecaptchaenterpriseV1ScoreMetrics.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1ScoreMetrics.fromJson(core.Map json_)
    : this(
        actionMetrics: json_.containsKey('actionMetrics')
            ? (json_['actionMetrics'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudRecaptchaenterpriseV1ScoreDistribution.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        overallMetrics: json_.containsKey('overallMetrics')
            ? GoogleCloudRecaptchaenterpriseV1ScoreDistribution.fromJson(
                json_['overallMetrics']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );