saveAttribution method
Persists the active last-click attribution context (as JSON).
json: The encodedActiveAttribution- Returns: True if successful
Implementation
@override
Future<bool> saveAttribution(String json) async {
try {
return await _prefs.setString(StorageKeys.attribution, json);
} catch (e) {
LinkFortyLogger.log('Failed to save attribution: $e');
return false;
}
}