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