matchesSelector method

bool matchesSelector(
  1. String selector
)

Implementation

bool matchesSelector(String selector) {
  return (element != null && matches(element!, selector)) || name == selector;
}