clearNotificationDenialInfo method
Clears stored denial info (e.g., after user grants permission via settings).
Implementation
Future<void> clearNotificationDenialInfo() async {
try {
await ensureMigrated();
final prefs = await SharedPreferences.getInstance();
await prefs.remove(_keyDenialInfo);
logd('Cleared notification denial info');
} catch (e) {
loge(e, 'Error clearing notification denial info');
}
}