ListMultipartUploadsOutput.fromXml constructor
ListMultipartUploadsOutput.fromXml(
- XmlElement elem
Implementation
factory ListMultipartUploadsOutput.fromXml(_s.XmlElement elem) {
return ListMultipartUploadsOutput(
bucket: _s.extractXmlStringValue(elem, 'Bucket'),
commonPrefixes: elem
.findElements('CommonPrefixes')
.map((c) => CommonPrefix.fromXml(c))
.toList(),
delimiter: _s.extractXmlStringValue(elem, 'Delimiter'),
encodingType:
_s.extractXmlStringValue(elem, 'EncodingType')?.toEncodingType(),
isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated'),
keyMarker: _s.extractXmlStringValue(elem, 'KeyMarker'),
maxUploads: _s.extractXmlIntValue(elem, 'MaxUploads'),
nextKeyMarker: _s.extractXmlStringValue(elem, 'NextKeyMarker'),
nextUploadIdMarker: _s.extractXmlStringValue(elem, 'NextUploadIdMarker'),
prefix: _s.extractXmlStringValue(elem, 'Prefix'),
uploadIdMarker: _s.extractXmlStringValue(elem, 'UploadIdMarker'),
uploads: elem
.findElements('Upload')
.map((c) => MultipartUpload.fromXml(c))
.toList(),
);
}