totalUnreadCount property
int
get
totalUnreadCount
The current total unread messages count
Implementation
int get totalUnreadCount => _totalUnreadCountController.value;
set
totalUnreadCount
(int unreadCount)
Used internally for optimistic update of unread count
Implementation
set totalUnreadCount(int unreadCount) {
_totalUnreadCountController.add(unreadCount);
}