S3SetObjectLegalHoldOperation.fromXml constructor

S3SetObjectLegalHoldOperation.fromXml(
  1. XmlElement elem
)

Implementation

factory S3SetObjectLegalHoldOperation.fromXml(_s.XmlElement elem) {
  return S3SetObjectLegalHoldOperation(
    legalHold:
        S3ObjectLockLegalHold.fromXml(_s.extractXmlChild(elem, 'LegalHold')!),
  );
}