fetchAllMessages method

Future<InboxData> fetchAllMessages()

Implementation

Future<InboxData> fetchAllMessages() async {
  String serialisedMessages =
      await _channel.invokeMethod(METHOD_NAME_FETCH_MESSAGES);
  return deSerializeInboxMessages(serialisedMessages);
}