GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry.fromJson constructor
GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry.fromJson(
- Map json_
Implementation
GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry.fromJson(core.Map json_)
: this(
confidenceThreshold: json_.containsKey('confidenceThreshold')
? (json_['confidenceThreshold'] as core.num).toDouble()
: null,
f1Score: json_.containsKey('f1Score')
? (json_['f1Score'] as core.num).toDouble()
: null,
f1ScoreAt1: json_.containsKey('f1ScoreAt1')
? (json_['f1ScoreAt1'] as core.num).toDouble()
: null,
f1ScoreAt5: json_.containsKey('f1ScoreAt5')
? (json_['f1ScoreAt5'] as core.num).toDouble()
: null,
precision: json_.containsKey('precision')
? (json_['precision'] as core.num).toDouble()
: null,
precisionAt1: json_.containsKey('precisionAt1')
? (json_['precisionAt1'] as core.num).toDouble()
: null,
precisionAt5: json_.containsKey('precisionAt5')
? (json_['precisionAt5'] as core.num).toDouble()
: null,
recall: json_.containsKey('recall')
? (json_['recall'] as core.num).toDouble()
: null,
recallAt1: json_.containsKey('recallAt1')
? (json_['recallAt1'] as core.num).toDouble()
: null,
recallAt5: json_.containsKey('recallAt5')
? (json_['recallAt5'] as core.num).toDouble()
: null,
);