toChannelMembershipType method
Implementation
ChannelMembershipType toChannelMembershipType() {
switch (this) {
case 'DEFAULT':
return ChannelMembershipType.$default;
case 'HIDDEN':
return ChannelMembershipType.hidden;
}
throw Exception('$this is not known in enum ChannelMembershipType');
}