toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChannelStatus.creating:
      return 'CREATING';
    case ChannelStatus.active:
      return 'ACTIVE';
    case ChannelStatus.deleting:
      return 'DELETING';
  }
}