DBSnapshotMessage.fromXml constructor

DBSnapshotMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory DBSnapshotMessage.fromXml(_s.XmlElement elem) {
  return DBSnapshotMessage(
    dBSnapshots: _s.extractXmlChild(elem, 'DBSnapshots')?.let((elem) => elem
        .findElements('DBSnapshot')
        .map((c) => DBSnapshot.fromXml(c))
        .toList()),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
  );
}