EventSubscriptionsMessage.fromXml constructor

EventSubscriptionsMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory EventSubscriptionsMessage.fromXml(_s.XmlElement elem) {
  return EventSubscriptionsMessage(
    eventSubscriptionsList: _s
        .extractXmlChild(elem, 'EventSubscriptionsList')
        ?.let((elem) => elem
            .findElements('EventSubscription')
            .map((c) => EventSubscription.fromXml(c))
            .toList()),
    marker: _s.extractXmlStringValue(elem, 'Marker'),
  );
}