toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('QueueConfiguration', nest: () {
    builder.element('Events', nest: events);
    builder.element('Filter', nest: filter!.toXml());
    builder.element('Id', nest: id);
    builder.element('QueueArn', nest: queueArn);
  });
  return builder.buildDocument();
}