handleMethod method

Future handleMethod(
  1. MethodCall call
)
inherited

Implementation

Future<dynamic> handleMethod(MethodCall call) async {
  switch (call.method) {
    case "onBrowserCreated":
      this._isOpened = true;
      this.pullToRefreshController?.initMethodChannel(id);
      onBrowserCreated();
      break;
    case "onExit":
      this._isOpened = false;
      onExit();
      break;
    default:
      return webViewController.handleMethod(call);
  }
}