toValue method
Implementation
String toValue() {
switch (this) {
case ChannelStatus.inProgress:
return 'IN_PROGRESS';
case ChannelStatus.created:
return 'CREATED';
case ChannelStatus.failed:
return 'FAILED';
}
}
String toValue() {
switch (this) {
case ChannelStatus.inProgress:
return 'IN_PROGRESS';
case ChannelStatus.created:
return 'CREATED';
case ChannelStatus.failed:
return 'FAILED';
}
}