fromValue static method
Implementation
static FlyeExerciseName fromValue(int value) {
switch (value) {
case 0:
return FlyeExerciseName.cableCrossover;
case 1:
return FlyeExerciseName.declineDumbbellFlye;
case 2:
return FlyeExerciseName.dumbbellFlye;
case 3:
return FlyeExerciseName.inclineDumbbellFlye;
case 4:
return FlyeExerciseName.kettlebellFlye;
case 5:
return FlyeExerciseName.kneelingRearFlye;
case 6:
return FlyeExerciseName.singleArmStandingCableReverseFlye;
case 7:
return FlyeExerciseName.swissBallDumbbellFlye;
case 8:
return FlyeExerciseName.armRotations;
case 9:
return FlyeExerciseName.hugATree;
default:
throw ArgumentError.value(value);
}
}