TrainingDataResult.fromJson constructor
TrainingDataResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TrainingDataResult.fromJson(Map<String, dynamic> json) {
return TrainingDataResult(
input: json['Input'] != null
? TrainingData.fromJson(json['Input'] as Map<String, dynamic>)
: null,
output: json['Output'] != null
? TrainingData.fromJson(json['Output'] as Map<String, dynamic>)
: null,
validation: json['Validation'] != null
? ValidationData.fromJson(json['Validation'] as Map<String, dynamic>)
: null,
);
}