toXml method

XmlNode toXml()

Implementation

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