toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'CompletedMultipartUpload',
    nest: () {
      builder.element('Parts', nest: parts!.toXml());
    },
  );
  return builder.buildDocument();
}