code: private void dispatchMessage(PushMessageListener listener, RemoteMessage message) {
          if (listener != null) {
              mainThreadHandler.post(() -> listener.onMessageReceived(message));
          }
      }
docs: Dispatch received push message to external listener.
  
  @param listener Push message listener.
  @param message  Received push message to be dispatched.