toValue method

String toValue()

Implementation

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