ToolCall class

Available extensions
Annotations
  • @artifact

Constructors

ToolCall.new({required String id, required String name, required String arguments})
const

Properties

arguments String
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toLangChain → AIChatMessageToolCall

Available on ToolCall, provided by the XChatMessageToolCall2LC extension

no setter

Methods

copyWith({_3? id, _3? name, _3? arguments}) → _k

Available on _k, provided by the $ToolCall extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({bool pretty = _F}) → _3

Available on _k, provided by the $ToolCall extension

toMap() → _1

Available on _k, provided by the $ToolCall extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited