fromValue static method
Implementation
static CarryExerciseName fromValue(int value) {
switch (value) {
case 0:
return CarryExerciseName.barHolds;
case 1:
return CarryExerciseName.farmersWalk;
case 2:
return CarryExerciseName.farmersWalkOnToes;
case 3:
return CarryExerciseName.hexDumbbellHold;
case 4:
return CarryExerciseName.overheadCarry;
default:
throw ArgumentError.value(value);
}
}