FunctionResponse class final

The response class for FunctionCall

Inheritance

Constructors

FunctionResponse(String name, Map<String, Object?> response, {String? id, bool? isThought})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String?
The id of the function call this response is for.
final
isThought → bool?
Whether this part is a thought summary.
finalinherited
name → String
The name of the function that was called.
final
response → Map<String, Object?>
The function response.
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() → Object
Convert the Part content to json format.
override
toString() → String
A string representation of this object.
inherited

Operators

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