toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('ScanRange', nest: () {
    builder.element('End', nest: end.toString());
    builder.element('Start', nest: start.toString());
  });
  return builder.buildDocument();
}