toChannelType method

ChannelType toChannelType()

Implementation

ChannelType toChannelType() {
  switch (this) {
    case 'SINGLE_MASTER':
      return ChannelType.singleMaster;
  }
  throw Exception('$this is not known in enum ChannelType');
}