toChannelStatus method
Implementation
ChannelStatus toChannelStatus() {
switch (this) {
case 'CREATING':
return ChannelStatus.creating;
case 'ACTIVE':
return ChannelStatus.active;
case 'DELETING':
return ChannelStatus.deleting;
}
throw Exception('$this is not known in enum ChannelStatus');
}