toXml method
Implementation
_s.XmlElement toXml(String elemName, {List<_s.XmlAttribute>? attributes}) {
final end = this.end;
final start = this.start;
final $children = <_s.XmlNode>[
if (start != null) _s.encodeXmlIntValue('Start', start),
if (end != null) _s.encodeXmlIntValue('End', end),
];
final $attributes = <_s.XmlAttribute>[
...?attributes,
];
return _s.XmlElement(
_s.XmlName(elemName),
$attributes,
$children,
);
}