toValue method
Implementation
String toValue() {
switch (this) {
case ChannelMode.unrestricted:
return 'UNRESTRICTED';
case ChannelMode.restricted:
return 'RESTRICTED';
}
}
String toValue() {
switch (this) {
case ChannelMode.unrestricted:
return 'UNRESTRICTED';
case ChannelMode.restricted:
return 'RESTRICTED';
}
}