toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'FilterRule',
    nest: () {
      builder.element('Name', nest: name);
      builder.element('Value', nest: value);
    },
  );
  return builder.buildDocument();
}