fetchAllMessages method

Future<InboxData?> fetchAllMessages()

Implementation

Future<InboxData?> fetchAllMessages() async {
  if (Platform.isAndroid) {
    return _androidInbox.fetchAllMessages();
  } else if (Platform.isIOS) {
    return _iOSInbox.fetchAllMessages();
  }
  return null;
}