findAllElements method Null safety

Iterable<XmlElement> findAllElements(
  1. String name,
  2. {String? namespace}
)

Return a lazy Iterable of the recursive child elements in document order with the specified tag name.

Implementation

Iterable<XmlElement> findAllElements(String name, {String? namespace}) =>
    filterElements(descendants, name, namespace);