getInstallData method
Retrieves the saved deep link data
- Returns: The deep link data if it exists and can be decoded, null otherwise
Implementation
@override
DeepLinkData? getInstallData() {
try {
final jsonString = _prefs.getString(StorageKeys.installData);
if (jsonString == null) return null;
final json = jsonDecode(jsonString) as Map<String, dynamic>;
return DeepLinkData.fromJson(json);
} catch (e) {
LinkFortyLogger.log('Failed to decode install data: $e');
return null;
}
}