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