toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AppInstanceDataType.channel:
      return 'Channel';
    case AppInstanceDataType.channelMessage:
      return 'ChannelMessage';
  }
}