Tinode constructor

Tinode(
  1. String appName,
  2. ConnectionOptions options,
  3. bool loggerEnabled
)

Creates an instance of Tinode interface to interact with tinode server using websocket

appName name of the client

options connection configuration and api key

loggerEnabled pass true if you want to turn the logger on

Implementation

Tinode(String appName, ConnectionOptions options, bool loggerEnabled) {
  _registerDependencies(options, loggerEnabled);
  _resolveDependencies();

  _configService.appName = appName;
  _doSubscriptions();
}