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