connect method

void connect()

Connect to a channel.

Implementation

void connect() {
  _channel = WebSocketChannel.connect(Uri.parse(_authority));
}