RealtimeResponseMcpCallArgumentsDeltaEvent.fromJson constructor

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

Implementation

factory RealtimeResponseMcpCallArgumentsDeltaEvent.fromJson(Map<String, dynamic> j) {
  return RealtimeResponseMcpCallArgumentsDeltaEvent(
    eventId: j['event_id'] as String,
    responseId: j['response_id'] as String,
    itemId: j['item_id'] as String,
    outputIndex: j['output_index'] as int,
    delta: j['delta'] as String,
    obfuscation: j['obfuscation'] as String?,
  );
}