evaluateJavascriptFuture method

Future evaluateJavascriptFuture(
  1. String script,
  2. String bridge
)

script를 evaluate한 후, bridge 이름의 JavascriptChannel로 받은 params를 Future로 반환

Implementation

Future<dynamic> evaluateJavascriptFuture(String script, String bridge) async {
  var future = eventManager.waitForEvent(bridge);
  evaluateJavascript(script);
  return future;
}