toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'InventoryDestination',
    nest: () {
      builder.element(
        'S3BucketDestination',
        nest: s3BucketDestination!.toXml(),
      );
    },
  );
  return builder.buildDocument();
}