shouldSendNotification method
Implementation
bool shouldSendNotification({
bool? isLoggedIn,
bool isNotificationEnabled = true,
bool? isNotificationScheduled,
}) {
saveNotificationStatus(isNotificationEnabled);
return isNotificationEnabled; // Example logic: Only checks if notifications are enabled.
}