DeletedObject.fromXml constructor

DeletedObject.fromXml(
  1. XmlElement xml
)

Implementation

DeletedObject.fromXml(XmlElement xml) {
  deleteMarker =
      getProp(xml, 'DeleteMarker')?.innerText.toUpperCase() == 'TRUE';
  deleteMarkerVersionId = getProp(xml, 'DeleteMarkerVersionId')?.innerText;
  key = getProp(xml, 'Key')?.innerText;
  versionId = getProp(xml, 'VersionId')?.innerText;
}