toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('NotificationConfigurationDeprecated', nest: () {
    builder.element('CloudFunctionConfiguration',
        nest: cloudFunctionConfiguration!.toXml());
    builder.element('QueueConfiguration', nest: queueConfiguration!.toXml());
    builder.element('TopicConfiguration', nest: topicConfiguration!.toXml());
  });
  return builder.buildDocument();
}