areNotificationsEnabled method
Checks if notifications are currently enabled. Uses local repository for permission checking.
Implementation
Future<(NotificationFailure?, bool?)> areNotificationsEnabled() async {
if (!_isInitialized) {
return (
NotificationFailure.initialization(
details: 'Notification manager not initialized',
),
false,
);
}
return _localRepository.areNotificationsEnabled();
}