CalendarPlanRepository constructor
- PlanDatasource _plan,
- DeadlinesDatasource _deadlines,
- AuthRepository _auth,
- ConnectivityService _connectivity,
- MoodleTasksRepository _tasks,
- UserRepository _user,
Repository for managing a user's CalendarPlan.
Implementation
CalendarPlanRepository(
this._plan,
this._deadlines,
this._auth,
this._connectivity,
this._tasks,
this._user,
) : super(AsyncValue.loading()) {
watchAsync(_auth);
watchAsync(_tasks, setError: false, setLoading: false);
}