chopper 4.0.0-nullsafety.0
chopper: ^4.0.0-nullsafety.0 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: ^1.12.2
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: ^1.12.2
chopper_generator: ^<latest version>
Latest versions:
- chopper
- chopper_generator