DescribeSnapshotsListMessage.fromXml constructor

DescribeSnapshotsListMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeSnapshotsListMessage.fromXml(_s.XmlElement elem) {
  return DescribeSnapshotsListMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    snapshots: _s.extractXmlChild(elem, 'Snapshots')?.let((elem) => elem
        .findElements('Snapshot')
        .map((c) => Snapshot.fromXml(c))
        .toList()),
  );
}