ChatToolResult class

Terminal value returned to the model after an app tool executes.

Constructors

ChatToolResult({required String callId, required String name, required String status, dynamic data, dynamic error})

Properties

callId → String
final
data → dynamic
final
error → dynamic
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toModelOutput() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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