Codenic Bloc Use Case
Last updated
Last updated
The Codenic Bloc Use Case package provides a suite of abstract use case templates (powered by BloC cubits) that you can extend to define and create your application's use cases as part of your clean architecture.
This uses fpdart's Either
monad for managing union types.
Use Case Templates | Description |
---|---|
A use case for executing a specific task ideal for create, read, update and delete (CRUD) operations. | |
A use case for streaming data. |
Add the Dart package in your pubspec.yaml
by running the following command in the root of your project:
Install the package by calling:
Once installed, you can start creating your use cases by following the Runner and Watcher documentation.