LifecycleExpiration.fromXml constructor

LifecycleExpiration.fromXml(
  1. XmlElement elem
)

Implementation

factory LifecycleExpiration.fromXml(_s.XmlElement elem) {
  return LifecycleExpiration(
    date: _s.extractXmlDateTimeValue(elem, 'Date'),
    days: _s.extractXmlIntValue(elem, 'Days'),
    expiredObjectDeleteMarker:
        _s.extractXmlBoolValue(elem, 'ExpiredObjectDeleteMarker'),
  );
}