toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'CompleteMultipartUpload',
    nest: parts.map((p) => p.toXml()),
  );
  return builder.buildDocument();
}