matches method

  1. @override
bool matches(
  1. Tool tool
)
override

Whether the tool matches this one, if a tool matches another tool will be considered a duplicate

Implementation

@override
bool matches(Tool tool) {
  return tool is FunctionTool && tool.name == this.name;
}