increaseUnreadMessageCount method Null safety

void increaseUnreadMessageCount()

Implementation

void increaseUnreadMessageCount() {
  if (canChangeUnreadMessageCount) {
    unreadMessageCount++;
  } else {}
}