toXml method
XmlNode
toXml()
Implementation
XmlNode toXml() {
final builder = XmlBuilder();
builder.element(
'MetricsAndOperator',
nest: () {
builder.element('Prefix', nest: prefix);
builder.element('Tags', nest: tags!.toXml());
},
);
return builder.buildDocument();
}