ToolCallsDetails.fromJson constructor
Creates a ToolCallsDetails from JSON.
Implementation
factory ToolCallsDetails.fromJson(Map<String, dynamic> json) {
return ToolCallsDetails(
toolCalls: (json['tool_calls'] as List<dynamic>)
.map((e) => StepToolCall.fromJson(e as Map<String, dynamic>))
.toList(),
);
}