ToolResource constructor
Implementation
const ToolResource({required this.uri, this.mimeType, this.text, this.blob})
: assert(
(text == null) != (blob == null),
'a resource carries text or bytes, one of them',
);
const ToolResource({required this.uri, this.mimeType, this.text, this.blob})
: assert(
(text == null) != (blob == null),
'a resource carries text or bytes, one of them',
);