ResponseFunctionCallArgumentsDoneEvent.fromJson constructor

ResponseFunctionCallArgumentsDoneEvent.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ResponseFunctionCallArgumentsDoneEvent.fromJson(
  Map<String, dynamic> json,
) {
  return ResponseFunctionCallArgumentsDoneEvent(
    eventId: json['event_id'] as String,
    responseId: json['response_id'] as String,
    itemId: json['item_id'] as String,
    outputIndex: json['output_index'] as int,
    callId: json['call_id'] as String,
    arguments: json['arguments'] as String,
  );
}