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