toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('ProgressEvent', nest: () {
    builder.element('Details', nest: details!.toXml());
  });
  return builder.buildDocument();
}