GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.fromJson constructor
GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.fromJson(
- Map json_
Implementation
GoogleCloudDocumentaiV1EvaluationMultiConfidenceMetrics.fromJson(
core.Map json_)
: this(
auprc: (json_['auprc'] as core.num?)?.toDouble(),
auprcExact: (json_['auprcExact'] as core.num?)?.toDouble(),
confidenceLevelMetrics: (json_['confidenceLevelMetrics']
as core.List?)
?.map((value) =>
GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
confidenceLevelMetricsExact: (json_['confidenceLevelMetricsExact']
as core.List?)
?.map((value) =>
GoogleCloudDocumentaiV1EvaluationConfidenceLevelMetrics
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
estimatedCalibrationError:
(json_['estimatedCalibrationError'] as core.num?)?.toDouble(),
estimatedCalibrationErrorExact:
(json_['estimatedCalibrationErrorExact'] as core.num?)
?.toDouble(),
metricsType: json_['metricsType'] as core.String?,
);