descendantElements property
Return a lazy Iterable of the descendants XmlElement
nodes of this
node (attributes, children, grandchildren, ...) in document order.
Implementation
@override
Iterable<XmlElement> get descendantElements => descendants.whereType<XmlElement>();