QueueConfiguration.fromXml constructor

QueueConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory QueueConfiguration.fromXml(_s.XmlElement elem) {
  return QueueConfiguration(
    events: _s
        .extractXmlStringListValues(elem, 'Event')
        .map((s) => s.toEvent())
        .toList(),
    queueArn: _s.extractXmlStringValue(elem, 'Queue')!,
    filter: _s
        .extractXmlChild(elem, 'Filter')
        ?.let((e) => NotificationConfigurationFilter.fromXml(e)),
    id: _s.extractXmlStringValue(elem, 'Id'),
  );
}