matches method

bool matches(
  1. DartElement el
)

Implementation

bool matches(DartElement el) {
  return el is T && name == el.name && location == el.location;
}