chopper 8.0.3 chopper: ^8.0.3 copied to clipboard
Chopper is an http client generator using source_gen, inspired by Retrofit
Chopper #
Chopper is an http client generator for Dart and Flutter using source_gen and inspired by Retrofit.
Adding Chopper to your project #
In your project's pubspec.yaml
file,
- Add chopper's latest version to your dependencies.
- Add
build_runner: ^2.4.9
to your dev_dependencies.- build_runner may already be in your dev_dependencies depending on your project setup and other dependencies.
- Add chopper_generator's latest version to your dev_dependencies.
# pubspec.yaml
dependencies:
chopper: ^<latest version>
dev_dependencies:
build_runner: ^2.4.9
chopper_generator: ^<latest version>
Latest versions:
- chopper
- chopper_generator