load static method

dynamic load(
  1. String? url,
  2. String? body, {
  3. WebViewController? tourWebViewController,
})

Implementation

static load(String? url, String? body,
    {WebViewController? tourWebViewController}) {
  if (url != null) {
    WebviewUtil.loadUrl(url);
  }
  if (body.toString().startsWith(bodyStartsWithHtmlString)) {
    WebviewUtil.loadHtml(body, tourWebViewController: tourWebViewController);
  }
}