onPostMessage property
Event that receives a message sent by a postMessage() on the injected JavaScript object.
Note that when the frame is file: or content: origin, the value of sourceOrigin is null.
messagerepresents the message from JavaScript.sourceOriginrepresents the origin of the frame that the message is from.isMainFrameistrueif the message is from the main frame.replyProxyis used to reply back to the JavaScript object.
Implementation
OnPostMessageCallback? onPostMessage;