ToolCallSseEvent class final
Emitted when the AI decides to call a specific tool or function.
Constructors
-
ToolCallSseEvent({required String toolName, required Map<
String, dynamic> input}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
input
→ Map<
String, dynamic> -
The arguments generated by the AI for the tool.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toolName → String
-
The name of the tool to be executed.
final
- type → String
-
The specific string identifier for the event type.
finalinherited
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