allowsElement method

bool allowsElement (Element element)

Returns true if the tagName is an accepted type.

Implementation

bool allowsElement(Element element) {
  return _validators.any((v) => v.allowsElement(element));
}