totalUnreadCount property

int totalUnreadCount

The current total unread messages count

Implementation

int get totalUnreadCount => _totalUnreadCountController.value;
void totalUnreadCount=(int unreadCount)

Used internally for optimistic update of unread count

Implementation

set totalUnreadCount(int unreadCount) {
  _totalUnreadCountController.add(unreadCount);
}