AnalyticsService constructor
AnalyticsService({
- required IReownCore core,
- bool? enableAnalytics,
Implementation
AnalyticsService({
required IReownCore core,
this.enableAnalytics,
}) {
_core = core;
_endpoint = kDebugMode ? _debugApiEndpoint : UrlConstants.analyticsService;
_headers = kDebugMode
? CoreUtils.getAPIHeaders(_debugProjectId)
: CoreUtils.getAPIHeaders(_core.projectId);
}