onMessageCountUpdate property
Implementation
static Stream get onMessageCountUpdate {
messageCountUpdatesStreamController.onCancel = () {
registerForEvent(FRESHCHAT_UNREAD_MESSAGE_COUNT_CHANGED, false);
};
messageCountUpdatesStreamController.onListen = () {
registerForEvent(FRESHCHAT_UNREAD_MESSAGE_COUNT_CHANGED, true);
};
return messageCountUpdatesStreamController.stream;
}