DistributionIdList.fromXml constructor

DistributionIdList.fromXml(
  1. XmlElement elem
)

Implementation

factory DistributionIdList.fromXml(_s.XmlElement elem) {
  return DistributionIdList(
    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) => _s.extractXmlStringListValues(elem, 'DistributionId')),
    nextMarker: _s.extractXmlStringValue(elem, 'NextMarker'),
  );
}