hasToolResults property

bool get hasToolResults

Whether this message contains any tool results.

Implementation

bool get hasToolResults => _parts.toolResults.isNotEmpty;