matches method

bool matches(
  1. Tool tool
)

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

Implementation

bool matches(Tool tool) {
  return tool.runtimeType == this.runtimeType;
}