ObjectLockRetention.fromXml constructor

ObjectLockRetention.fromXml(
  1. XmlElement xml
)

Implementation

ObjectLockRetention.fromXml(XmlElement xml) {
  mode = getProp(xml, 'Mode')?.text;
  retainUntilDate = DateTime.parse(getProp(xml, 'RetainUntilDate')!.text);
}