ListMultipartUploadsOutput.fromXml constructor

ListMultipartUploadsOutput.fromXml(
  1. XmlElement xml
)

Implementation

ListMultipartUploadsOutput.fromXml(XmlElement xml) {
  isTruncated = getProp(xml, 'IsLatest')?.text.toUpperCase() == 'TRUE';
  nextKeyMarker = getProp(xml, 'NextKeyMarker')?.text;
  nextUploadIdMarker = getProp(xml, 'NextUploadIdMarker')?.text;
  uploads = xml
      .findElements('Upload')
      .map((e) => MultipartUpload.fromXml(e))
      .toList();
}