DeleteMarkerEntry.fromXml constructor

DeleteMarkerEntry.fromXml(
  1. XmlElement xml
)

Implementation

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