large Flutter Favorite logosmall Flutter Favorite logo

chopper 4.0.6 icon indicating copy to clipboard operation
chopper: ^4.0.6 copied to clipboard

Chopper is an http client generator using source_gen, inspired by Retrofit

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add chopper

With Flutter:

 $ flutter pub add chopper

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  chopper: ^4.0.6

Alternatively, 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:chopper/chopper.dart';
455
likes
120
pub points
97%
popularity

Publisher

verified publisher iconhadrienlejard.io

Chopper is an http client generator using source_gen, inspired by Retrofit

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

http, logging, meta

More

Packages that depend on chopper