matchesSelector method

bool matchesSelector(
  1. String selector
)
inherited

Implementation

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