toJson method
Implementation
@override
Map<String, dynamic> toJson([dynamic extra]) {
return {
"@type": CONSTRUCTOR,
"duration": duration,
"waveform": waveform,
"mime_type": mimeType,
"speech_recognition_result": speechRecognitionResult?.toJson(),
"voice": voice.toJson(),
};
}