durbun_dio 0.3.0
durbun_dio: ^0.3.0 copied to clipboard
Dio adapter wrapper and interceptor for Dürbün: reports requests made through adapters that bypass dart:io (NativeAdapter, cronet_http) and applies the desktop's mocks.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add durbun_dioThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
durbun_dio: ^0.3.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:durbun_dio/durbun_dio.dart';