hasElementInAllowlist function

bool hasElementInAllowlist(
  1. String name
)

Implementation

bool hasElementInAllowlist(String name) =>
    _selectors.any((selectors) => selectors
        .any((selector) => selector.element == name && selector.attrs.isEmpty));