AnalyticsService constructor
Implementation
AnalyticsService({
required this.projectId,
this.enableAnalytics,
}) {
_endpoint = kDebugMode ? _debugApiEndpoint : UrlConstants.analyticsService;
_headers = kDebugMode
? coreUtils.instance.getAPIHeaders(_debugProjectId)
: coreUtils.instance.getAPIHeaders(projectId);
}