toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accuracy != null) 'accuracy': accuracy!,
if (f1Score != null) 'f1Score': f1Score!,
if (falseNegatives != null) 'falseNegatives': falseNegatives!,
if (falsePositives != null) 'falsePositives': falsePositives!,
if (positiveClassThreshold != null)
'positiveClassThreshold': positiveClassThreshold!,
if (precision != null) 'precision': precision!,
if (recall != null) 'recall': recall!,
if (trueNegatives != null) 'trueNegatives': trueNegatives!,
if (truePositives != null) 'truePositives': truePositives!,
};