setHtml method

Future<void> setHtml(
  1. String html
)

Implementation

Future<void> setHtml(String html) async {
  final js =
      "window.SmartBridge && window.SmartBridge.handle({type:'setHtml', html: ${jsonEncode(html)}});";
  await _web.runJavaScript(js);
}