EventCategoriesMessage.fromXml constructor

EventCategoriesMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory EventCategoriesMessage.fromXml(_s.XmlElement elem) {
  return EventCategoriesMessage(
    eventCategoriesMapList: _s
        .extractXmlChild(elem, 'EventCategoriesMapList')
        ?.let((elem) => elem
            .findElements('EventCategoriesMap')
            .map((c) => EventCategoriesMap.fromXml(c))
            .toList()),
  );
}