ToolResult constructor

const ToolResult({
  1. required String toolCallId,
  2. required String content,
  3. bool isError = false,
  4. Map<String, dynamic>? metadata,
})

Implementation

const ToolResult({
  required this.toolCallId,
  required this.content,
  this.isError = false,
  this.metadata,
});