toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChannelProtocol.wss:
      return 'WSS';
    case ChannelProtocol.https:
      return 'HTTPS';
  }
}