ObjectLockRule.fromXml constructor

ObjectLockRule.fromXml(
  1. XmlElement elem
)

Implementation

factory ObjectLockRule.fromXml(_s.XmlElement elem) {
  return ObjectLockRule(
    defaultRetention: _s
        .extractXmlChild(elem, 'DefaultRetention')
        ?.let((e) => DefaultRetention.fromXml(e)),
  );
}