toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('QueueConfigurationDeprecated', nest: () {
    builder.element('Event', nest: event);
    builder.element('Events', nest: events);
    builder.element('Id', nest: id);
    builder.element('Queue', nest: queue);
  });
  return builder.buildDocument();
}