FunctionCall class final
A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values.
- Inheritance
-
- Object
- ProtoMessage
- FunctionCall
Constructors
- FunctionCall({String id = '', required String name, Struct? args})
- FunctionCall.fromJson(Object? j)
-
factory
Properties
- args → Struct?
-
Optional. Required. The function parameters and values in JSON object
format. See FunctionDeclaration.parameters for parameter details.
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_calland return the response with the matchingid.final - name → String
-
Required. The name of the function to call.
Matches FunctionDeclaration.name.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.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 -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String