setWebMessageCallback method
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');
}