notificationsRepositoryProvider top-level property

Provider<NotificationsRepository> notificationsRepositoryProvider
final

Provides the current NotificationsRepository instance.

Implementation

final notificationsRepositoryProvider = Provider<NotificationsRepository>(
  (ref) {
    final notificationsDataSource = ref.watch(notificationsDataSourceProvider);

    return StdNotificationsRepository(notificationsDataSource);
  },
);