XmlHasAttributes mixin Null safety

Mixin for nodes with attributes.

Mixin Applications

Properties

attributes → XmlNodeList<XmlAttribute>
Return the attribute nodes of this node in document order.
final
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

getAttribute(String name, {String? namespace}) String?
Return the attribute value with the given name, or null.
getAttributeNode(String name, {String? namespace}) XmlAttribute?
Return the attribute node with the given name, or null.
setAttribute(String name, String? value, {String? namespace}) → void
Set the attribute value with the given fully qualified name to value. If an attribute with the name already exist, its value is updated. If the value is null, the attribute is removed.
toString() String
A string representation of this object. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
removeAttribute(String name, {String? namespace}) → void
Removes the attribute value with the given fully qualified name.
inherited

Operators

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