increaseUnreadMessageCount method Null safety
Implementation
void increaseUnreadMessageCount() {
if (canChangeUnreadMessageCount) {
unreadMessageCount++;
} else {}
}
void increaseUnreadMessageCount() {
if (canChangeUnreadMessageCount) {
unreadMessageCount++;
} else {}
}