setWebMessageCallback method
Sets a callback to receive message events on the main thread.
Implementation
Future<void> setWebMessageCallback(WebMessageCallback? onMessage) =>
platform.setWebMessageCallback(onMessage);
Sets a callback to receive message events on the main thread.
Future<void> setWebMessageCallback(WebMessageCallback? onMessage) =>
platform.setWebMessageCallback(onMessage);