GoogleCloudDocumentaiV1EvaluationMetrics.fromJson constructor
GoogleCloudDocumentaiV1EvaluationMetrics.fromJson(
- Map json_
Implementation
GoogleCloudDocumentaiV1EvaluationMetrics.fromJson(core.Map json_)
: this(
f1Score: json_.containsKey('f1Score')
? (json_['f1Score'] as core.num).toDouble()
: null,
falseNegativesCount: json_.containsKey('falseNegativesCount')
? json_['falseNegativesCount'] as core.int
: null,
falsePositivesCount: json_.containsKey('falsePositivesCount')
? json_['falsePositivesCount'] as core.int
: null,
groundTruthDocumentCount:
json_.containsKey('groundTruthDocumentCount')
? json_['groundTruthDocumentCount'] as core.int
: null,
groundTruthOccurrencesCount:
json_.containsKey('groundTruthOccurrencesCount')
? json_['groundTruthOccurrencesCount'] as core.int
: null,
precision: json_.containsKey('precision')
? (json_['precision'] as core.num).toDouble()
: null,
predictedDocumentCount: json_.containsKey('predictedDocumentCount')
? json_['predictedDocumentCount'] as core.int
: null,
predictedOccurrencesCount:
json_.containsKey('predictedOccurrencesCount')
? json_['predictedOccurrencesCount'] as core.int
: null,
recall: json_.containsKey('recall')
? (json_['recall'] as core.num).toDouble()
: null,
totalDocumentsCount: json_.containsKey('totalDocumentsCount')
? json_['totalDocumentsCount'] as core.int
: null,
truePositivesCount: json_.containsKey('truePositivesCount')
? json_['truePositivesCount'] as core.int
: null,
);