ToolResult constructor

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

Implementation

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