notificationsApiNotifierProvider top-level property
final
** Notification list providers ** Provides the notifications from the remote Energy Management backend
Implementation
/// Provides the notifications from the remote Energy Management backend
final notificationsApiNotifierProvider = StateNotifierProvider.autoDispose<
NotificationsNotifier, PagedValue<NotificationDTO>>(
(ref) {
final api = ref.watch(energyManagementV3ApiProvider).valueOrNull;
return NotificationsNotifier(api);
},
);