toXml method
Implementation
_s.XmlElement toXml(String elemName, {List<_s.XmlAttribute>? attributes}) {
final comment = this.comment;
final id = this.id;
final version = this.version;
final $children = <_s.XmlNode>[
_s.encodeXmlStringValue('Comment', comment),
];
final $attributes = <_s.XmlAttribute>[
...?attributes,
];
return _s.XmlElement(
_s.XmlName(elemName),
$attributes,
$children,
);
}