ToolCall constructor

const ToolCall({
  1. required String id,
  2. String type = 'function',
  3. required FunctionCallResult function,
})

Implementation

const ToolCall({
  required this.id,
  this.type = 'function',
  required this.function,
});