XmlHasText mixin Null safety

Mixin for nodes with text.

Mixin Applications

Properties

text String
Return the concatenated text of this node and all its descendants, for XmlData nodes return the textual value of the node.
read-only
innerText String
Return the concatenated text of this node and all its descendants.
read / write
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
children List<XmlNode>
Return the direct children of this node in document order.
read-only, inherited
childElements Iterable<XmlElement>
Return an Iterable over the XmlElement children of this node.
read-only, inherited
firstChild XmlNode?
Return the first child of this node, or null if there are no children.
read-only, inherited
firstElementChild XmlElement?
Return the first child XmlElement, or null if there are none.
read-only, inherited
lastChild XmlNode?
Return the last child of this node, or null if there are no children.
read-only, inherited
lastElementChild XmlElement?
Return the last child XmlElement, or null if there are none.
read-only, inherited

Methods

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

Operators

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