toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Channel.voice:
      return 'VOICE';
    case Channel.chat:
      return 'CHAT';
    case Channel.task:
      return 'TASK';
  }
}