toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'NoncurrentVersionTransition',
    nest: () {
      builder.element('NoncurrentDays', nest: noncurrentDays.toString());
      builder.element('StorageClass', nest: storageClass);
    },
  );
  return builder.buildDocument();
}