FunctionCallResponse class

The response object returned after executing an AI function call.

Constructors

FunctionCallResponse({required FunctionCallResult result, required List<TriggerLog> logs, required String error, required double durationInSeconds})
FunctionCallResponse.fromJson(Map<String, dynamic> json)
factory

Properties

durationInSeconds → double
final
error → String
final
hashCode → int
The hash code for this object.
no setterinherited
logs → List<TriggerLog>
final
result → FunctionCallResult
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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