StreamingDistributionList.fromXml constructor
StreamingDistributionList.fromXml(
- XmlElement elem
Implementation
factory StreamingDistributionList.fromXml(_s.XmlElement elem) {
return StreamingDistributionList(
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('StreamingDistributionSummary')
.map((c) => StreamingDistributionSummary.fromXml(c))
.toList()),
nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
);
}