toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accuracy = this.accuracy;
  final f1Score = this.f1Score;
  final falseNegatives = this.falseNegatives;
  final falsePositives = this.falsePositives;
  final positiveClassThreshold = this.positiveClassThreshold;
  final precision = this.precision;
  final recall = this.recall;
  final trueNegatives = this.trueNegatives;
  final truePositives = this.truePositives;
  return {
    'accuracy': ?accuracy,
    'f1Score': ?f1Score,
    'falseNegatives': ?falseNegatives,
    'falsePositives': ?falsePositives,
    'positiveClassThreshold': ?positiveClassThreshold,
    'precision': ?precision,
    'recall': ?recall,
    'trueNegatives': ?trueNegatives,
    'truePositives': ?truePositives,
  };
}