EventCategoriesMap.fromXml constructor

EventCategoriesMap.fromXml(
  1. XmlElement elem
)

Implementation

factory EventCategoriesMap.fromXml(_s.XmlElement elem) {
  return EventCategoriesMap(
    eventCategories: _s
        .extractXmlChild(elem, 'EventCategories')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'EventCategory')),
    sourceType: _s.extractXmlStringValue(elem, 'SourceType'),
  );
}