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