toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'CommonPrefix',
    nest: () {
      builder.element('Prefix', nest: prefix);
    },
  );
  return builder.buildDocument();
}