Client constructor

Client([
  1. int apiVersion = 10
])

When apiVersion is specified, the api will use a different version

Implementation

Client([int apiVersion = 10]) {
  config.apiVersion = apiVersion;
  _channel = IOWebSocketChannel.connect(constants.gateWayURL);
}