toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('Tag', nest: () {
    builder.element('Key', nest: key);
    builder.element('Value', nest: value);
  });
  return builder.buildDocument();
}