isUnread property

bool get isUnread

Returns true if this room is unread. To check if there are new messages in muted rooms, use hasNewMessages.

Implementation

bool get isUnread => notificationCount > 0 || markedUnread;