clearData method
Permanently removes all SDK-related data from local storage.
This includes the install ID, cached attribution data, and any queued events. Use this for user privacy compliance (e.g., GDPR/CCPA).
Implementation
Future<void> clearData() async {
await _attributionManager?.clearData();
await _attributionContext?.clear();
_eventTracker?.clearQueue();
_deepLinkHandler?.clearCallbacks();
LinkFortyLogger.log('All SDK data cleared');
}