getMessages method
Get messages for a conversation (one-shot, not a stream).
For reactive updates, use watchMessages instead.
Implementation
Future<List<Message>> getMessages(String conversationId,
{int limit = 50}) async {
_ensureInitialized();
return _database.getMessagesByConversation(conversationId, limit: limit);
}