GlobalStatsRepository constructor

GlobalStatsRepository(
  1. MoodleTasksRepository _tasks,
  2. UserRepository _user
)

Repository responsible for providing global statistics for all tasks.

Implementation

GlobalStatsRepository(this._tasks, this._user) : super(AsyncValue.loading()) {
  watchAsync(_tasks);
  watchAsync(_user);
}