GoogleCloudDatalabelingV1beta1ClassificationMetrics.fromJson constructor

GoogleCloudDatalabelingV1beta1ClassificationMetrics.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDatalabelingV1beta1ClassificationMetrics.fromJson(core.Map _json)
    : this(
        confusionMatrix: _json.containsKey('confusionMatrix')
            ? GoogleCloudDatalabelingV1beta1ConfusionMatrix.fromJson(
                _json['confusionMatrix']
                    as core.Map<core.String, core.dynamic>)
            : null,
        prCurve: _json.containsKey('prCurve')
            ? GoogleCloudDatalabelingV1beta1PrCurve.fromJson(
                _json['prCurve'] as core.Map<core.String, core.dynamic>)
            : null,
      );