toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'NotificationConfiguration',
nest: () {
if (lambdaFunctionConfigurations != null) {
builder.element(
'LambdaFunctionConfigurations',
nest: lambdaFunctionConfigurations!.toXml(),
);
}
if (queueConfigurations != null) {
builder.element(
'QueueConfigurations',
nest: queueConfigurations!.toXml(),
);
}
if (topicConfigurations != null) {
builder.element(
'TopicConfigurations',
nest: topicConfigurations!.toXml(),
);
}
},
);
return builder.buildDocument();
}