toJson method
Implementation
Map<String, dynamic> toJson() => {
if (audioData != null) 'audio_data': audioData,
if (filePath != null) 'file_path': filePath,
if (model != null) 'model': model,
if (format != null) 'format': format,
if (prompt != null) 'prompt': prompt,
if (responseFormat != null) 'response_format': responseFormat,
if (temperature != null) 'temperature': temperature,
};