InputAudioTranscription.fromJson constructor
Creates from JSON.
Implementation
factory InputAudioTranscription.fromJson(Map<String, dynamic> json) {
return InputAudioTranscription(
delay: json['delay'] != null
? AudioTranscriptionDelay.fromJson(json['delay'] as String)
: null,
language: json['language'] as String?,
model: json['model'] as String?,
prompt: json['prompt'] as String?,
);
}