TrainingMetrics.fromJson constructor
Implementation
factory TrainingMetrics.fromJson(Map<String, dynamic> json) {
return TrainingMetrics(
auc: json['auc'] as double?,
metricDataPoints: (json['metricDataPoints'] as List?)
?.whereNotNull()
.map((e) => MetricDataPoint.fromJson(e as Map<String, dynamic>))
.toList(),
);
}