toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element('TopicConfiguration', nest: () {
builder.element('Events', nest: events);
builder.element('Filter', nest: filter!.toXml());
builder.element('Id', nest: id);
builder.element('TopicArn', nest: topicArn);
});
return builder.buildDocument();
}