rz_dio_client 0.0.1
rz_dio_client: ^0.0.1 copied to clipboard
A reusable Dio client package with interceptors, cancel token manager, API response wrapper, and support for auth token + timeout configuration.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rz_dio_clientThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
rz_dio_client: ^0.0.1Alternatively, 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:rz_dio_client/rz_dio_client.dart';