CourseStatsRepository constructor
- MoodleCoursesRepository _courses,
- MoodleTasksRepository _tasks
Repository responsible for providing statistics on a per-course basis.
The state is a Map of course IDs to their respective statistics.
Implementation
CourseStatsRepository(this._courses, this._tasks) : super(AsyncValue.loading()) {
watchAsync(_courses);
watchAsync(_tasks);
}