toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'NotificationConfigurationFilter',
nest: () {
if (key != null) {
builder.element(
'Key',
nest: (key!.toXml() as XmlDocument).rootElement.children,
);
}
},
);
return builder.buildDocument();
}