plToPlbb method
PrivilegeLevelBeforeBlocked
plToPlbb(
- PrivilegeLevel privilegeLevel
Implementation
PrivilegeLevelBeforeBlocked plToPlbb(PrivilegeLevel privilegeLevel) {
switch (privilegeLevel) {
case PrivilegeLevel.noPrivilege:
return PrivilegeLevelBeforeBlocked.noPrivilege;
case PrivilegeLevel.level1Privilege:
return PrivilegeLevelBeforeBlocked.level1Privilege;
case PrivilegeLevel.level2Privilege:
return PrivilegeLevelBeforeBlocked.level2Privilege;
case PrivilegeLevel.ownerPrivilege:
return PrivilegeLevelBeforeBlocked.ownerPrivilege;
case PrivilegeLevel.unknown:
return PrivilegeLevelBeforeBlocked.noPrivilege;
}
}