startMonitor method
starts monitor to receive incoming notifications.
Implementation
Future<bool> startMonitor() async {
if (!monitorStarted) {
AtClientManager.getInstance()
.atClient
.notificationService
.subscribe(shouldDecrypt: true)
.listen((notification) {
_notificationCallback(notification);
});
monitorStarted = true;
}
return true;
}