XmlName.namespace constructor
const
XmlName.namespace({
- String? name,
Creates an XmlName for a namespace declaration with an optional name.
Implementation
const XmlName.namespace({String? name})
: this.qualified(
name == null ? ns.xmlns : '${ns.xmlns}${XmlToken.namespace}$name',
namespaceUri: ns.xmlnsUri,
);