Defines the basic structure of a flutter project. Based on Clean Architecture. This project represents the layer domain.
See the example folder for a design example.
- Define your repository based on the feature implementing
Repository
class - Define your use cases based on the feature extending
UseCase
class - Define your use case params
- Use your repository with
GetIt
class in your use case - If the repository returns a correct answer you can use
Right
class otherwise useLeft
class
- If required params: Extending
Params
class and implementingprops
attribute with all params - If not required params: Use
NoParams
class
- Returns a
Left
in use case and create your failure by extendingFailure
class