toMap method
Converts this ToolExecution into a JSON-compatible map.
Implementation
@override
Map<String, Object?> toMap() {
return {if (taskSupport != null) 'taskSupport': taskSupport};
}
Converts this ToolExecution into a JSON-compatible map.
@override
Map<String, Object?> toMap() {
return {if (taskSupport != null) 'taskSupport': taskSupport};
}