QueueConfigurationDeprecated.fromXml constructor

QueueConfigurationDeprecated.fromXml(
  1. XmlElement elem
)

Implementation

factory QueueConfigurationDeprecated.fromXml(_s.XmlElement elem) {
  return QueueConfigurationDeprecated(
    event: _s.extractXmlStringValue(elem, 'Event')?.toEvent(),
    events: _s
        .extractXmlStringListValues(elem, 'Event')
        .map((s) => s.toEvent())
        .toList(),
    id: _s.extractXmlStringValue(elem, 'Id'),
    queue: _s.extractXmlStringValue(elem, 'Queue'),
  );
}