refreshNotificationsApi function

Future<void> refreshNotificationsApi(
  1. BuildContext context
)

Refresh the currently logged-in user's notifications

Implementation

Future<void> refreshNotificationsApi(BuildContext context) {
  return context.read(notificationsApiNotifierProvider.notifier).reload();
}