toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'RequestProgress',
    nest: () {
      builder.element('Enabled', nest: enabled! ? 'TRUE' : 'FALSE');
    },
  );
  return builder.buildDocument();
}