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