JavaScriptReplyProxy class Null safety

This class represents the JavaScript object injected by InAppWebViewController.addWebMessageListener. An instance will be given by WebMessageListener.onPostMessage. The app can use postMessage(String) to talk to the JavaScript context.

There is a 1:1 relationship between this object and the JavaScript object in a frame.

Constructors

JavaScriptReplyProxy(WebMessageListener webMessageListener)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
postMessage(String message) Future<void>
Post a message to the injected JavaScript object which sent this JavaScriptReplyProxy. [...]
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited