Creates a tool-result part.
const ToolResultPart({ required this.toolCallId, required this.result, this.isError = false, });