channel method

String channel()

Implementation

String channel() {
  if (this == ChannelEnum.heartBeat) return 'heartbeat';
  if (this == ChannelEnum.status) return 'status';
  if (this == ChannelEnum.ticker) return 'ticker';
  if (this == ChannelEnum.level2) return 'level2';
  if (this == ChannelEnum.user) return 'user';
  if (this == ChannelEnum.matches) return 'matches';
  if (this == ChannelEnum.full)
    return 'full';
  else
    return 'auction';
}