evaluateJavascript method

Future<String> evaluateJavascript(
  1. String javascriptString
)

Evaluates a JavaScript expression in the context of the current page.

The Future completes with an error if a JavaScript error occurred, or if the type of the evaluated expression is not supported(e.g on iOS not all non primitive type can be evaluated).

Implementation

Future<String> evaluateJavascript(String javascriptString) {
  throw UnimplementedError(
      "WebView evaluateJavascript is not implemented on the current platform");
}