init method

dynamic init(
  1. AtClientImpl atClientImpl,
  2. String atSign,
  3. String rootDomainFromApp,
  4. int rootPortFromApp,
)

Implementation

init(AtClientImpl atClientImpl, String atSign, String rootDomainFromApp,
    int rootPortFromApp) async {
  atClientInstance = atClientImpl;
  _atsign = atSign;
  rootDomain = rootDomainFromApp;
  rootPort = rootPortFromApp;
  atContactImpl = await AtContactsImpl.getInstance(atSign);
  await fetchGroupsAndContacts();
}