DeleteMarkerEntry.fromXml constructor

DeleteMarkerEntry.fromXml(
  1. XmlElement xml
)

Implementation

DeleteMarkerEntry.fromXml(XmlElement xml) {
  isLatest = getProp(xml, 'IsLatest')?.innerText.toUpperCase() == 'TRUE';
  key = getProp(xml, 'Key')?.innerText;
  lastModified = DateTime.parse(getProp(xml, 'LastModified')!.innerText);
  owner = Owner.fromXml(getProp(xml, 'Owner'));
  versionId = getProp(xml, 'VersionId')?.innerText;
}