toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'CopyPartResult',
nest: () {
builder.element('ETag', nest: eTag);
builder.element('LastModified', nest: lastModified!.toIso8601String());
},
);
return builder.buildDocument();
}