FunctionCall class final

A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name with the arguments and their values.

Constructors

FunctionCall({String id = '', required String name, Struct? args})
FunctionCall.fromJson(Object? j)
factory

Properties

args → Struct?
Optional. The function parameters and values in JSON object format.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Optional. The unique id of the function call. If populated, the client to execute the function_call and return the response with the matching id.
final
name → String
Required. The name of the function to call. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
final
qualifiedName → String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
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
toString() → String
A string representation of this object.
override

Operators

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

Constants

fullyQualifiedName → const String