AnalyticsProxy constructor

AnalyticsProxy(
  1. List<BaseAnalytics> _analyticList, {
  2. required bool enable,
})

Pass a list of analytics implementations of BaseAnalytics If list is empty no analytics will be sent out to any element

Implementation

AnalyticsProxy(this._analyticList, {required bool enable}) : super() {
  if (enable) initialize();
}