ListMultipartUploadsOutput.fromXml constructor

ListMultipartUploadsOutput.fromXml(
  1. XmlElement xml
)

Implementation

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