usecase_annotation 0.0.5
usecase_annotation: ^0.0.5 copied to clipboard
usecase_annotation allows you to generate usecases class from the repository class
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add usecase_annotationWith Flutter:
$ flutter pub add usecase_annotationThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
usecase_annotation: ^0.0.5Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:usecase_annotation/usecase_annotation.dart';