toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChannelMessageType.standard:
      return 'STANDARD';
    case ChannelMessageType.control:
      return 'CONTROL';
  }
}