copyWith method
Implementation
ToolResultBlock copyWith({
String? toolUseId,
dynamic content,
bool? isError,
}) {
return ToolResultBlock(
toolUseId: toolUseId ?? this.toolUseId,
content: content ?? this.content,
isError: isError ?? this.isError,
);
}