Prerequirenments:
You should already have local_storage package that has methods read and write (naming can be different)
What to do:
In tasks_repository
create 2 new methods:
1) getTasks - method uses local_storage to fetch all the tasks that are saved in local data base
2) addTask - method uses local_storage to add new task to local data base
3) editTask - method uses local_storage to edit task that is saved in local data base
4) deleteTask - method uses local_storage to delete task that is saved in local data base
Prerequirenments: You should already have local_storage package that has methods read and write (naming can be different)
What to do: In tasks_repository create 2 new methods: 1) getTasks - method uses local_storage to fetch all the tasks that are saved in local data base 2) addTask - method uses local_storage to add new task to local data base 3) editTask - method uses local_storage to edit task that is saved in local data base 4) deleteTask - method uses local_storage to delete task that is saved in local data base