toolResults property
Extracts all tool result parts from the list.
Returns only ToolPart instances where kind == ToolPartKind.result.
Implementation
late final List<ToolPart> toolResults = whereType<ToolPart>()
.where((p) => p.kind == ToolPartKind.result)
.toList();