setMethodCallHandler method

void setMethodCallHandler(
  1. VoidCallback? closeWidgetCall
)

Implementation

void setMethodCallHandler(VoidCallback? closeWidgetCall) {
  _closeWidgetCall = closeWidgetCall;
  InterstitialCallbackRouter.instance.register(instanceId, mCallBack, _closeWidgetCall);
}