siblingElements property

List<XmlElement> 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<XmlElement> get siblingElements =>
    siblings.whereType<XmlElement>().toList(growable: false);