updateTotalUnreadCount method
Replaces the tracked total unread count.
Implementation
void updateTotalUnreadCount(int count) {
if (_totalUnreadCount == count) {
return;
}
_totalUnreadCount = count;
notifyListeners();
}
Replaces the tracked total unread count.
void updateTotalUnreadCount(int count) {
if (_totalUnreadCount == count) {
return;
}
_totalUnreadCount = count;
notifyListeners();
}