instabug_dio_interceptor 2.4.0 instabug_dio_interceptor: ^2.4.0 copied to clipboard
This package is an add on to instabug_flutter. It intercepts any requests performed with Dio Package and sends them to the report that will be sent to the dashboard.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add instabug_dio_interceptor
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
instabug_dio_interceptor: ^2.4.0
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:instabug_dio_interceptor/instabug_dio_interceptor.dart';