findFirstDescendantElement<T> function
Finds the first descendant Element of the provided element
of type T
.
Implementation
Element? findFirstDescendantElement<T>(Element element) {
return _findByElement(element, (T _) => true);
}