studentRepositoryProvider top-level property

Provider<StudentRepository> studentRepositoryProvider
final

Provides the StudentRepository instance.

Implementation

final studentRepositoryProvider = Provider<StudentRepository>((ref) {
  ref.watch(sessionProvider);
  return StudentRepository(
    database: ref.watch(databaseProvider),
    authRepository: ref.watch(authRepositoryProvider),
    courseRepository: ref.watch(courseRepositoryProvider),
    firebaseService: firebaseService,
    studentQueryService: ref.watch(studentQueryServiceProvider),
  );
});