findFirstDescendantElement<T> function

Element? findFirstDescendantElement<T>(
  1. Element element
)

Finds the first descendant Element of the provided element of type T.

Implementation

Element? findFirstDescendantElement<T>(Element element) {
  return _findByElement(element, (T _) => true);
}