onLoadError method

void onLoadError(
  1. WebResourceError error
)

Implementation

void onLoadError(WebResourceError error) {
  var params = VoltronMap();
  params.push('errorCode', error.errorCode);
  params.push('error', error.description);
  sendEvent(WebViewViewController.kEventOnError, params);
}