initializeNotifyService function
void
initializeNotifyService(
- AtClientManager atClientManager,
- String currentAtSign,
- AtClientPreference atClientPreference, {
- dynamic rootDomain = 'root.atsign.wtf',
- dynamic rootPort = 64,
The notify service needs to be initialised. It is expected that the app will first create an AtClientService instance using the preferences and then use it to initialise the notify service.
Implementation
void initializeNotifyService(AtClientManager atClientManager,
String currentAtSign, AtClientPreference atClientPreference,
{rootDomain = 'root.atsign.wtf', rootPort = 64}) {
NotifyService().initNotifyService(
atClientPreference, currentAtSign, rootDomain, rootPort);
}