toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'StorageClassAnalysisDataExport',
    nest: () {
      builder.element('Destination', nest: destination!.toXml());
      builder.element('OutputSchemaVersion', nest: outputSchemaVersion);
    },
  );
  return builder.buildDocument();
}