InputAudioTranscriptionCompletedEvent.fromJson constructor
Creates an InputAudioTranscriptionCompletedEvent from JSON.
Implementation
factory InputAudioTranscriptionCompletedEvent.fromJson(
Map<String, dynamic> json,
) {
return InputAudioTranscriptionCompletedEvent(
eventId: json['event_id'] as String,
itemId: json['item_id'] as String,
contentIndex: json['content_index'] as int,
transcript: json['transcript'] as String,
usage: json['usage'] as Map<String, dynamic>?,
);
}