toValue method
Implementation
String toValue() {
switch (this) {
case ChannelRole.master:
return 'MASTER';
case ChannelRole.viewer:
return 'VIEWER';
}
}
String toValue() {
switch (this) {
case ChannelRole.master:
return 'MASTER';
case ChannelRole.viewer:
return 'VIEWER';
}
}