fromValue static method
Implementation
static TotalBodyExerciseName fromValue(int value) {
switch (value) {
case 0:
return TotalBodyExerciseName.burpee;
case 1:
return TotalBodyExerciseName.weightedBurpee;
case 2:
return TotalBodyExerciseName.burpeeBoxJump;
case 3:
return TotalBodyExerciseName.weightedBurpeeBoxJump;
case 4:
return TotalBodyExerciseName.highPullBurpee;
case 5:
return TotalBodyExerciseName.manMakers;
case 6:
return TotalBodyExerciseName.oneArmBurpee;
case 7:
return TotalBodyExerciseName.squatThrusts;
case 8:
return TotalBodyExerciseName.weightedSquatThrusts;
case 9:
return TotalBodyExerciseName.squatPlankPushUp;
case 10:
return TotalBodyExerciseName.weightedSquatPlankPushUp;
case 11:
return TotalBodyExerciseName.standingTRotationBalance;
case 12:
return TotalBodyExerciseName.weightedStandingTRotationBalance;
default:
throw ArgumentError.value(value);
}
}