toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'JSONInput',
    nest: () {
      builder.element('Type', nest: type);
    },
  );
  return builder.buildDocument();
}