toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element('Part', nest: () {
builder.element('ETag', nest: eTag);
builder.element('PartNumber', nest: partNumber.toString());
});
return builder.buildDocument().rootElement;
}