toS3ObjectLockMode method
Implementation
S3ObjectLockMode toS3ObjectLockMode() {
switch (this) {
case 'COMPLIANCE':
return S3ObjectLockMode.compliance;
case 'GOVERNANCE':
return S3ObjectLockMode.governance;
}
throw Exception('$this is not known in enum S3ObjectLockMode');
}