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