toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('BucketLoggingStatus', nest: () {
    builder.element('LoggingEnabled', nest: loggingEnabled!.toXml());
  });
  return builder.buildDocument();
}