isUnreadOrInvited property

bool get isUnreadOrInvited

Returns true if this room is to be marked as unread. This extends isUnread to rooms with Membership.invite.

Implementation

bool get isUnreadOrInvited => isUnread || membership == Membership.invite;