toObjectLockLegalHoldStatus method
Implementation
ObjectLockLegalHoldStatus toObjectLockLegalHoldStatus() {
switch (this) {
case 'ON':
return ObjectLockLegalHoldStatus.on;
case 'OFF':
return ObjectLockLegalHoldStatus.off;
}
throw Exception('$this is not known in enum ObjectLockLegalHoldStatus');
}