toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'Progress',
nest: () {
builder.element('BytesProcessed', nest: bytesProcessed.toString());
builder.element('BytesReturned', nest: bytesReturned.toString());
builder.element('BytesScanned', nest: bytesScanned.toString());
},
);
return builder.buildDocument();
}