XmlElement.tag constructor
XmlElement.tag(})
Creates an element with the qualified name, and with optional
attributes and children.
Implementation
XmlElement.tag(
String qualifiedName, {
String? namespaceUri,
Iterable<XmlAttribute> attributes = const [],
Iterable<XmlNode> children = const [],
bool isSelfClosing = true,
}) : this(
XmlName.qualified(qualifiedName, namespaceUri: namespaceUri),
attributes,
children,
isSelfClosing,
);