registerChannel method
Implementation
void registerChannel(int id,AdWidgetNeedCloseCall? closeWidgetCall) {
_channel = null;
_channel = MethodChannel('${AMPSPlatformViewRegistry.ampsSdkSplashViewId}$id');
setMethodCallHandler(closeWidgetCall);
}