getPerformanceLevelMap method
Implementation
PerformanceLevel getPerformanceLevelMap(int? p) {
switch (p) {
case 1:
return PerformanceLevel.low;
case 2:
return PerformanceLevel.average;
case 3:
return PerformanceLevel.high;
case 4:
return PerformanceLevel.excellent;
}
return PerformanceLevel.unknown;
}