ConfusionMatrix.fromJson constructor
ConfusionMatrix.fromJson(
- Map json_
Implementation
ConfusionMatrix.fromJson(core.Map json_)
: this(
confidenceThreshold: json_.containsKey('confidenceThreshold')
? (json_['confidenceThreshold'] as core.num).toDouble()
: null,
rows: json_.containsKey('rows')
? (json_['rows'] as core.List)
.map((value) => Row.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);