runJavaScript method
Implementation
@override
Future<void> runJavaScript(int webviewId, String javaScriptString) async {
await methodChannel.invokeMethod<void>('runJavascript', {
"webviewId": webviewId,
"javaScriptString": javaScriptString,
"ignoreResult": true
});
}