-
-
Notifications
You must be signed in to change notification settings - Fork 0
Repository and Usecases
Michael edited this page Jan 30, 2021
·
1 revision
Currently there is only one repository class and it is located in lib/data_layer. This repository holds functions that execute usecases. These usecase calls will pull and push data to and from the appropriate data sources, and allow the developer to call the usecases anywhere in the app. There are some instances where a repository is called directly in a widget, and there are instances where a Cubit will call the repository.
It doesnt matter what state management is used for a feature, ideally these repository calls could be called from any state manager(Widgets, Change Notifiers, Blocs, and Cubits)
Libertas People • releases page • slavefreetrade website