AgentStep constructor

const AgentStep({
  1. required ToolCall call,
  2. required String result,
  3. bool isError = false,
})

Creates a step.

Implementation

const AgentStep({
  required this.call,
  required this.result,
  this.isError = false,
});