TopicConfigurationDeprecated.fromXml constructor
TopicConfigurationDeprecated.fromXml(
- XmlElement elem
Implementation
factory TopicConfigurationDeprecated.fromXml(_s.XmlElement elem) {
return TopicConfigurationDeprecated(
event: _s.extractXmlStringValue(elem, 'Event')?.toEvent(),
events: _s
.extractXmlStringListValues(elem, 'Event')
.map((s) => s.toEvent())
.toList(),
id: _s.extractXmlStringValue(elem, 'Id'),
topic: _s.extractXmlStringValue(elem, 'Topic'),
);
}