onNotificationIntercept property
Stream
onNotificationIntercept
Stream which triggers a callback on clicking notification
Implementation
static Stream get onNotificationIntercept {
notificationInterceptController.onCancel = () {
_registerForEvent(FRESHCHAT_ACTION_NOTIFICATION_INTERCEPTED, false);
};
notificationInterceptController.onListen = () {
_registerForEvent(FRESHCHAT_ACTION_NOTIFICATION_INTERCEPTED, true);
};
return notificationInterceptController.stream;
}