refreshInbox method

Future<bool?> refreshInbox()

Forces a refresh of the inbox messages.

This method is typically not needed as the inbox automatically refreshes on app foreground or when a new message arrives. Returns a Future that resolves to a boolean indicating the success of the refresh operation.

Implementation

Future<bool?> refreshInbox() async {
  return _module.channel.invokeMethod("messageCenter#refreshMessages");
}