CallToolResult constructor

const CallToolResult({
  1. required List<Content> content,
  2. Map<String, dynamic>? structuredContent,
  3. @Deprecated('See CallToolResult.isStreaming — removed in 3.0.') bool isStreaming = false,
  4. bool? isError,
})

Implementation

const CallToolResult({
  required this.content,
  this.structuredContent,
  @Deprecated('See CallToolResult.isStreaming — removed in 3.0.')
  this.isStreaming = false,
  this.isError,
});