toValue method
Implementation
String toValue() {
switch (this) {
case RunningMode.autoStop:
return 'AUTO_STOP';
case RunningMode.alwaysOn:
return 'ALWAYS_ON';
}
}
String toValue() {
switch (this) {
case RunningMode.autoStop:
return 'AUTO_STOP';
case RunningMode.alwaysOn:
return 'ALWAYS_ON';
}
}