NoncurrentVersionTransition.fromXml constructor

NoncurrentVersionTransition.fromXml(
  1. XmlElement elem
)

Implementation

factory NoncurrentVersionTransition.fromXml(_s.XmlElement elem) {
  return NoncurrentVersionTransition(
    noncurrentDays: _s.extractXmlIntValue(elem, 'NoncurrentDays'),
    storageClass: _s
        .extractXmlStringValue(elem, 'StorageClass')
        ?.toTransitionStorageClass(),
  );
}