toJson method

Map<String, dynamic> toJson()

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(),
  };
}