XmlHasChildren<T extends XmlNode> mixin

Mixin for nodes with children.

Mixin Applications

Properties

childElements Iterable<XmlElement>
Return an Iterable over the XmlElement children of this node.
no setter
children → XmlNodeList<T>
Return the direct children of this node in document order.
final
firstChild → T?
Return the first child of this node, or null if there are no children.
no setter
firstElementChild XmlElement?
Return the first child XmlElement, or null if there are none.
no setter
hashCode int
The hash code for this object.
no setterinherited
lastChild → T?
Return the last child of this node, or null if there are no children.
no setter
lastElementChild XmlElement?
Return the last child XmlElement, or null if there are none.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getElement(String name, {String? namespace}) XmlElement?
Return the first child element with the given name, or null.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited