getTool method
Implementation
BaseTool getTool(String name) {
for (final tool in tools) {
if (tool.name == name) {
return tool;
}
}
throw Exception("Tool was not found $name");
}
BaseTool getTool(String name) {
for (final tool in tools) {
if (tool.name == name) {
return tool;
}
}
throw Exception("Tool was not found $name");
}