FunctionDeclaration class

A collection of tools/functions declared to the AI model.

Constructors

FunctionDeclaration({required String? status, required String? type, required String? projectId, required double? durationInSeconds, required String? message, required FunctionDeclarationData? data})
FunctionDeclaration.fromJson(Map<String, dynamic> json)
factory

Properties

data → FunctionDeclarationData?
final
durationInSeconds → double?
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
final
projectId → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → String?
final
type → String?
final

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