RunToolCall class
A tool call in a run.
- Annotations
-
- @immutable
Constructors
- RunToolCall({required String id, required String type, required RunFunctionCall function})
-
Creates a RunToolCall.
const
-
RunToolCall.fromJson(Map<
String, dynamic> json) -
Creates a RunToolCall from JSON.
factory
Properties
- function → RunFunctionCall
-
The function call details.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The tool call ID.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The type of tool call.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override