GoogleCloudDatalabelingV1beta1EvaluationMetrics.fromJson constructor

GoogleCloudDatalabelingV1beta1EvaluationMetrics.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1EvaluationMetrics.fromJson(core.Map _json)
    : this(
        classificationMetrics: _json.containsKey('classificationMetrics')
            ? GoogleCloudDatalabelingV1beta1ClassificationMetrics.fromJson(
                _json['classificationMetrics']
                    as core.Map<core.String, core.dynamic>)
            : null,
        objectDetectionMetrics: _json.containsKey('objectDetectionMetrics')
            ? GoogleCloudDatalabelingV1beta1ObjectDetectionMetrics.fromJson(
                _json['objectDetectionMetrics']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );