initializeContactsService function

Future<void> initializeContactsService({
  1. dynamic rootDomain = 'root.atsign.org',
  2. dynamic rootPort = 64,
  3. bool fetchContacts = true,
})

Function to initialise contacts Service

Implementation

Future<void> initializeContactsService(
    {rootDomain = 'root.atsign.org',
    rootPort = 64,
    bool fetchContacts = true}) async {
  await ContactService()
      .initContactsService(rootDomain, rootPort, fetchContacts: fetchContacts);
}