TrainingData.fromJson constructor
Implementation
factory TrainingData.fromJson(Map<String, dynamic> json) {
return TrainingData(
assets: (json['Assets'] as List?)
?.whereNotNull()
.map((e) => Asset.fromJson(e as Map<String, dynamic>))
.toList(),
);
}