Tinode constructor

Tinode(
  1. String appName,
  2. ConnectionOptions options,
  3. bool loggerEnabled, {
  4. bool reset = false,
})

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,
    {bool reset = false}) {
  _registerDependencies(options, loggerEnabled, reset: reset);
  _resolveDependencies();

  _configService.appName = appName;
  _doSubscriptions();
}