DistributionList.fromXml constructor
DistributionList.fromXml(
- XmlElement elem
Implementation
factory DistributionList.fromXml(_s.XmlElement elem) {
return DistributionList(
isTruncated: _s.extractXmlBoolValue(elem, 'IsTruncated')!,
marker: _s.extractXmlStringValue(elem, 'Marker')!,
maxItems: _s.extractXmlIntValue(elem, 'MaxItems')!,
quantity: _s.extractXmlIntValue(elem, 'Quantity')!,
items: _s.extractXmlChild(elem, 'Items')?.let((elem) => elem
.findElements('DistributionSummary')
.map((c) => DistributionSummary.fromXml(c))
.toList()),
nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
);
}