toXml method
Implementation
_s.XmlElement toXml(String elemName, {List<_s.XmlAttribute>? attributes}) {
final tagSet = this.tagSet;
final $children = <_s.XmlNode>[
_s.XmlElement(
_s.XmlName('TagSet'), [], tagSet.map((e) => e.toXml('Tag'))),
];
final $attributes = <_s.XmlAttribute>[
...?attributes,
];
return _s.XmlElement(
_s.XmlName(elemName),
$attributes,
$children,
);
}