TaskResult class
The outcome of executing an AgentTask.
Constructors
Properties
- completedAt → DateTime?
-
When the result was created.
final
- error → String?
-
Error message if success is false.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- output → dynamic
-
The structured or textual output produced (may be null on failure).
final
- rawLlmResponse → String?
-
Raw LLM response text before parsing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
Whether the task completed without error.
final
- taskId → String
-
Which task produced this result.
final
- toolUsed → String?
-
Name of the tool used (if any).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited