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