w_tools_api 1.0.0
w_tools_api: ^1.0.0 copied to clipboard
w_tools 的网络层:基于 Dio 提供多客户端注册、日志与 Token 拦截器、统一错误处理及 Repository 基类,可按域名管理多个客户端。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add w_tools_apiThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
w_tools_api: ^1.0.0Alternatively, 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:w_tools_api/w_tools_api.dart';