toJson method
Converts to JSON.
Implementation
Map<String, dynamic> toJson() => {
if (transcription != null)
'transcription': transcription!.toJson()
else if (clearTranscription)
'transcription': null,
if (noiseReduction != null)
'noise_reduction': noiseReduction!.toJson()
else if (clearNoiseReduction)
'noise_reduction': null,
};