configureDataUsage method
dynamic
configureDataUsage(
- Troubleshooting? troubleshooting,
- String visitorId,
- bool hasConsented,
- FlagshipConfig sdkConfig,
Implementation
configureDataUsage(Troubleshooting? troubleshooting, String visitorId,
bool hasConsented, FlagshipConfig sdkConfig) {
_singleton.sdkConfig = sdkConfig;
_singleton._troubleshooting = troubleshooting;
_singleton.visitorId = visitorId;
_singleton.dataReport = DataReportQueue();
_singleton.visitorSessionId = FlagshipTools.generateUuidv4().toString();
_singleton._hasConsented = hasConsented;
_singleton.evaluateDataUsageTrackingAllocated();
}