sendMessageThroughWebSocket method

dynamic sendMessageThroughWebSocket()

Implementation

sendMessageThroughWebSocket() {
  if (isConnected.value) {
    channel?.sink.add('');
  }
}