ObjectLockConfiguration.fromXml constructor

ObjectLockConfiguration.fromXml(
  1. XmlElement elem
)

Implementation

factory ObjectLockConfiguration.fromXml(_s.XmlElement elem) {
  return ObjectLockConfiguration(
    objectLockEnabled: _s
        .extractXmlStringValue(elem, 'ObjectLockEnabled')
        ?.toObjectLockEnabled(),
    rule: _s
        .extractXmlChild(elem, 'Rule')
        ?.let((e) => ObjectLockRule.fromXml(e)),
  );
}