getAllMessagesByChannel method

Future<List<LocalityEvent>> getAllMessagesByChannel(
  1. String channel
)

Retrieves all messages for the specified channel from the repository.

Implementation

Future<List<LocalityEvent>> getAllMessagesByChannel(String channel) async {
  return await messageRepository.getAllMessagesByChannel(channel);
}