RealtimeResponseAudioTranscriptDeltaEvent.fromJson constructor

RealtimeResponseAudioTranscriptDeltaEvent.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory RealtimeResponseAudioTranscriptDeltaEvent.fromJson(Map<String, dynamic> j) => RealtimeResponseAudioTranscriptDeltaEvent(
      eventId: j['event_id'] as String,
      responseId: j['response_id'] as String,
      itemId: j['item_id'] as String,
      outputIndex: j['output_index'] as int,
      contentIndex: j['content_index'] as int,
      delta: j['delta'] as String,
    );