S3ObjectLockLegalHold.fromXml constructor

S3ObjectLockLegalHold.fromXml(
  1. XmlElement elem
)

Implementation

factory S3ObjectLockLegalHold.fromXml(_s.XmlElement elem) {
  return S3ObjectLockLegalHold(
    status: _s
        .extractXmlStringValue(elem, 'Status')!
        .toS3ObjectLockLegalHoldStatus(),
  );
}