setWebMessageCallback method

Future<void> setWebMessageCallback(
  1. WebMessageCallback? onMessage
)

Sets a callback to receive message events on the main thread.

Implementation

Future<void> setWebMessageCallback(WebMessageCallback? onMessage) {
  throw UnimplementedError(
      'setWebMessageCallback is not implemented on the current platform');
}