handleMultiWindowReceivedData method

void handleMultiWindowReceivedData(
  1. BuildContext context
)

Sets up the method handler to listen to data received by the main window.

Implementation

void handleMultiWindowReceivedData(BuildContext context) {
  DesktopMultiWindow.setMethodHandler((call, fromWindowId) =>
      _handleMethodCallback(context, call, fromWindowId));
}