XmlHasChildren mixin

Mixin for nodes with children.

Mixin Applications

Properties

children → XmlNodeList<XmlNode>
Return the direct children of this node in document order.
final
firstChild XmlNode
Return the first child of this node, or null if there are no children.
read-only
firstElementChild XmlElement
Return the first child XmlElement, or null if there are none.
read-only
lastChild XmlNode
Return the last child of this node, or null if there are no children.
read-only
lastElementChild XmlElement
Return the last child XmlElement, or null if there are none.
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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