refreshNotificationsApi function
- BuildContext context
Refresh the currently logged-in user's notifications
Implementation
Future<void> refreshNotificationsApi(BuildContext context) {
return context.read(notificationsApiNotifierProvider.notifier).reload();
}