net_retrofit_kit 0.2.14
net_retrofit_kit: ^0.2.14 copied to clipboard
Declarative HTTP client built on Dio: define APIs with annotations and generate implementations with build_runner. Supports multiple clients, custom parsing, and unified error handling. @Body() accept [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add net_retrofit_kitThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
net_retrofit_kit: ^0.2.14Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:net_retrofit_kit/net_retrofit_kit.dart';