FunctionCallArgumentsDoneEvent.fromJson constructor

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

Creates a FunctionCallArgumentsDoneEvent from JSON.

Implementation

factory FunctionCallArgumentsDoneEvent.fromJson(Map<String, dynamic> json) {
  return FunctionCallArgumentsDoneEvent(
    itemId: json['item_id'] as String?,
    outputIndex: json['output_index'] as int,
    name: json['name'] as String?,
    arguments: json['arguments'] as String,
    sequenceNumber: json['sequence_number'] as int?,
  );
}