OnPostMessageCallback typedef
OnPostMessageCallback =
void Function(WebMessage? message, WebUri? sourceOrigin, bool isMainFrame, PlatformJavaScriptReplyProxy replyProxy)
The listener for handling PlatformWebMessageListener events sent by a postMessage()
on the injected JavaScript object.
Implementation
typedef void OnPostMessageCallback(WebMessage? message, WebUri? sourceOrigin,
bool isMainFrame, PlatformJavaScriptReplyProxy replyProxy);