EventInfoMap.fromXml constructor

EventInfoMap.fromXml(
  1. XmlElement elem
)

Implementation

factory EventInfoMap.fromXml(_s.XmlElement elem) {
  return EventInfoMap(
    eventCategories: _s
        .extractXmlChild(elem, 'EventCategories')
        ?.let((elem) => _s.extractXmlStringListValues(elem, 'EventCategory')),
    eventDescription: _s.extractXmlStringValue(elem, 'EventDescription'),
    eventId: _s.extractXmlStringValue(elem, 'EventId'),
    severity: _s.extractXmlStringValue(elem, 'Severity'),
  );
}