setModeIndex method
- int index
Same as setMode, but uses OperatingMode.index
instead.
Implementation
void setModeIndex(int index) => setMode(OperatingMode.values[index]);
Same as setMode, but uses OperatingMode.index
instead.
void setModeIndex(int index) => setMode(OperatingMode.values[index]);