FunctionData class

Constructors

FunctionData({required String name, String? description, Map<String, dynamic>? parameters})

Properties

description String?
The description of what the function does. description
final
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. name
final
parameters Map<String, dynamic>?
parameters object Optional The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format. parameters
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