sendMessageToWeb method
Implementation
void sendMessageToWeb(String message) {
if (debug) print("window.postMessage($message, '*');");
webViewController.runJavaScript("window.postMessage($message, '*');");
}
void sendMessageToWeb(String message) {
if (debug) print("window.postMessage($message, '*');");
webViewController.runJavaScript("window.postMessage($message, '*');");
}