ToolResult constructor

const ToolResult({
  1. required dynamic content,
  2. bool isError = false,
  3. String? errorMessage,
})

Implementation

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