ToolInputData.fromJson constructor

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

Implementation

factory ToolInputData.fromJson(Map<String, dynamic> json) => ToolInputData(
  toolOutputs: List<dynamic>.from(json["tool_outputs"].map((x) => x)),
  runId: json["run_id"],
  threadId: json["thread_id"],
);