EventCategoriesMap.fromXml constructor

EventCategoriesMap.fromXml(
  1. XmlElement elem
)

Implementation

factory EventCategoriesMap.fromXml(_s.XmlElement elem) {
  return EventCategoriesMap(
    events: _s.extractXmlChild(elem, 'Events')?.let((elem) => elem
        .findElements('EventInfoMap')
        .map((c) => EventInfoMap.fromXml(c))
        .toList()),
    sourceType: _s.extractXmlStringValue(elem, 'SourceType'),
  );
}