initChatService method

void initChatService(
  1. AtClientManager atClientManagerFromApp,
  2. String currentAtSignFromApp,
  3. String rootDomainFromApp,
  4. int rootPortFromApp,
)

function to set parameters passed from the calling app

Implementation

void initChatService(AtClientManager atClientManagerFromApp, String currentAtSignFromApp, String rootDomainFromApp,
    int rootPortFromApp) async {
  atClientManager = atClientManagerFromApp;
  currentAtSign = currentAtSignFromApp;
  rootDomain = rootDomainFromApp;
  rootPort = rootPortFromApp;
  await startMonitor();
}