initInvitationService method

void initInvitationService(
  1. GlobalKey<NavigatorState>? navkeyFromApp,
  2. String? webPageFromApp,
  3. String rootDomainFromApp,
  4. int rootPortFromApp,
)

initialize the invitation service

Implementation

void initInvitationService(GlobalKey<NavigatorState>? navkeyFromApp, String? webPageFromApp, String rootDomainFromApp,
    int rootPortFromApp) async {
  navkey = navkeyFromApp;
  webPage = webPageFromApp;
  rootDomain = rootDomainFromApp;
  rootPort = rootPortFromApp;

  await startMonitor();
}