toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['recordPath'] = this.recordPath;
data['score'] = this.score;
data['word'] = this.word;
if (this.words != null) {
data['words'] = this.words!.map((v) => v.toJson()).toList();
}
return data;
}