reduceTotalUnreadCount method

void reduceTotalUnreadCount(
  1. int count
)

Decreases the tracked total unread count by count.

Implementation

void reduceTotalUnreadCount(int count) {
  if (count <= 0) {
    return;
  }
  updateTotalUnreadCount(
    _totalUnreadCount > count ? _totalUnreadCount - count : 0,
  );
}