toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Mode.off:
      return 'OFF';
    case Mode.behindLiveEdge:
      return 'BEHIND_LIVE_EDGE';
  }
}