ToolResultPart constructor

const ToolResultPart({
  1. required String toolCallId,
  2. required Object? result,
  3. bool isError = false,
})

Creates a tool-result part.

Implementation

const ToolResultPart({
  required this.toolCallId,
  required this.result,
  this.isError = false,
});