toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"canvas": canvas?.toJson(),
"avatar": avatar?.toJson(),
"animation": animation,
"language": language,
"speech": speech,
"voice": voice,
"voiceType": voiceType,
"voiceProvider": voiceProvider,
};