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,
      );