getUnreadMessagesFlow
Subscribes to the list of unread messages as a flow. The flow will emit the current list of unread messages, filtered by the provided predicate, and sorted by descending sent-at date, and will emit new lists whenever the inbox is updated.
Return
A flow of filtered and sorted Messages.
Parameters
predicate
A predicate for filtering messages. If null, no predicate will be applied.