GoogleCloudRecaptchaenterpriseV1Metrics.fromJson constructor

GoogleCloudRecaptchaenterpriseV1Metrics.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1Metrics.fromJson(core.Map json_)
    : this(
        challengeMetrics: (json_['challengeMetrics'] as core.List?)
            ?.map((value) =>
                GoogleCloudRecaptchaenterpriseV1ChallengeMetrics.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        name: json_['name'] as core.String?,
        scoreMetrics: (json_['scoreMetrics'] as core.List?)
            ?.map((value) =>
                GoogleCloudRecaptchaenterpriseV1ScoreMetrics.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        startTime: json_['startTime'] as core.String?,
      );