toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'Delete',
    nest: () {
      for (final object in objects) {
        builder.element('Object', nest: object.toXml().children);
      }
      builder.element('Quiet', nest: quiet ? 'TRUE' : 'FALSE');
    },
  );
  return builder.buildDocument();
}