toChannelMessageType method

ChannelMessageType toChannelMessageType()

Implementation

ChannelMessageType toChannelMessageType() {
  switch (this) {
    case 'STANDARD':
      return ChannelMessageType.standard;
    case 'CONTROL':
      return ChannelMessageType.control;
  }
  throw Exception('$this is not known in enum ChannelMessageType');
}