isUnread property

bool get isUnread

Whether the status of this chat is "unread", e.g. the last message has not been read

Implementation

bool get isUnread => (unreadCount ?? 0) > 0;