use_in_case 1.4.0
use_in_case: ^1.4.0 copied to clipboard
Have you ever tried to follow a clean-architecture approach in your Project? If so, you probably have a lot of UseCases. This package will help you to use them in a more readable way. It's a simple pa [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add use_in_caseThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
use_in_case: ^1.4.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:use_in_case/use_in_case.dart';