VccAdControl constructor
VccAdControl({
- required String tag,
Implementation
VccAdControl({required this.tag}) {
final methodChannelName = "${NativeBridge.methodChannel}_$tag";
final eventChannelName = "${NativeBridge.eventChannel}_$tag";
Logger.d("init channel [method=$methodChannelName, event=$eventChannelName]");
_methodChannel = MethodChannel(methodChannelName);
_eventChannel = EventChannel(eventChannelName);
initialized = _init();
}