GenerateContentToolResult constructor

GenerateContentToolResult({
  1. required String toolCallId,
  2. required String toolName,
  3. required dynamic result,
  4. bool? isError,
  5. bool? preliminary,
  6. bool? isDynamic,
  7. Map<String, dynamic>? providerMetadata,
})

Implementation

GenerateContentToolResult({
  required this.toolCallId,
  required this.toolName,
  required this.result,
  this.isError,
  this.preliminary,
  this.isDynamic,
  this.providerMetadata,
});