toValue method
Implementation
String toValue() {
switch (this) {
case Channel.voice:
return 'VOICE';
case Channel.chat:
return 'CHAT';
case Channel.task:
return 'TASK';
}
}
String toValue() {
switch (this) {
case Channel.voice:
return 'VOICE';
case Channel.chat:
return 'CHAT';
case Channel.task:
return 'TASK';
}
}