getAllMessages

Retrieves all messages from the database as a Flow.

Return

A Flow emitting a List of all Message objects.