toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (format != null) "format": format?.toJson(),
if (noiseReduction != null) "noise_reduction": noiseReduction?.toJson(),
if (transcription != null) "transcription": transcription?.toJson(),
if (turnDetection != null) "turn_detection": turnDetection?.toJson(),
};
}