fetchMessages method
Implementation
Future<List<Message>> fetchMessages() async {
List<dynamic>? messages =
await _channel.invokeMethod('inbox.fetchMessages');
if (messages == null) {
throw NullThrownError();
}
return _mapper.map(messages);
}