net_retrofit_kit 0.1.1 copy "net_retrofit_kit: ^0.1.1" to clipboard
net_retrofit_kit: ^0.1.1 copied to clipboard

discontinuedreplaced by: net_retrofit_dio

基于 Dio 的声明式 HTTP 客户端:用注解定义 API 接口并自动生成实现,少写样板代码,支持多 Client、自定义响应解析与统一错误处理,便于接入现有项目。

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add net_retrofit_kit

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

dependencies:
  net_retrofit_kit: ^0.1.1

Alternatively, 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';
1
likes
0
points
19
downloads

Documentation

Documentation

Publisher

unverified uploader

Weekly Downloads

基于 Dio 的声明式 HTTP 客户端:用注解定义 API 接口并自动生成实现,少写样板代码,支持多 Client、自定义响应解析与统一错误处理,便于接入现有项目。

Repository (GitHub)
View/report issues

Topics

#flutter #networking #retrofit #code-generation #dio

License

unknown (license)

Dependencies

analyzer, build, dio, flutter, source_gen

More

Packages that depend on net_retrofit_kit