ServiceUpdatesMessage.fromXml constructor

ServiceUpdatesMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory ServiceUpdatesMessage.fromXml(_s.XmlElement elem) {
  return ServiceUpdatesMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    serviceUpdates: _s.extractXmlChild(elem, 'ServiceUpdates')?.let((elem) =>
        elem
            .findElements('ServiceUpdate')
            .map((c) => ServiceUpdate.fromXml(c))
            .toList()),
  );
}