toValue method

String toValue()

Implementation

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