FunctionDeclaration constructor

FunctionDeclaration({
  1. required String name,
  2. required String description,
  3. Schema? parameters,
  4. Value? parametersJsonSchema,
  5. Schema? response,
  6. Value? responseJsonSchema,
  7. FunctionDeclaration_Behavior behavior = FunctionDeclaration_Behavior.$default,
})

Implementation

FunctionDeclaration({
  required this.name,
  required this.description,
  this.parameters,
  this.parametersJsonSchema,
  this.response,
  this.responseJsonSchema,
  this.behavior = FunctionDeclaration_Behavior.$default,
}) : super(fullyQualifiedName);