toChannelClass method
Implementation
ChannelClass toChannelClass() {
switch (this) {
case 'STANDARD':
return ChannelClass.standard;
case 'SINGLE_PIPELINE':
return ChannelClass.singlePipeline;
}
throw Exception('$this is not known in enum ChannelClass');
}