fromValue static method
Implementation
static PwrZoneCalc fromValue(int value) {
switch (value) {
case 0:
return PwrZoneCalc.custom;
case 1:
return PwrZoneCalc.percentFtp;
default:
throw ArgumentError.value(value);
}
}