siblingElements property

List<XmlNode> siblingElements

Returns an Iterable over the XmlElement siblings of this node. If the node has no parent or no siblings, return an empty collection.

Implementation

List<XmlNode> get siblingElements =>
    siblings.whereType<XmlElement>().toList(growable: false);