ListPartsOutput.fromXml constructor
ListPartsOutput.fromXml(
- XmlElement xml
Implementation
ListPartsOutput.fromXml(XmlElement xml) {
isTruncated = getProp(xml, 'IsLatest')?.text.toUpperCase() == 'TRUE';
nextPartNumberMarker =
int.parse(getProp(xml, 'NextPartNumberMarker')!.text);
parts = xml.findElements('Upload').map((e) => Part.fromXml(e)).toList();
}