alice_chopper 1.3.2
alice_chopper: ^1.3.2 copied to clipboard
Chopper interceptor and network logger for Alice. Inspect, log, and debug Chopper HTTP requests and responses in a native Flutter UI.
Alice Chopper #
Alice + Chopper integration. It contains a plugin for Alice which allows you to use the Chopper package.
Setup #
import 'package:alice/alice.dart';
import 'package:alice_chopper/alice_chopper_adapter.dart';
import 'package:chopper/chopper.dart';
AliceChopperAdapter aliceChopperAdapter = AliceChopperAdapter();
Alice alice = Alice()..addAdapter(aliceChopperAdapter);
ChopperClient chopper = ChopperClient(
interceptors: [
aliceChopperAdapter,
],
);
Documentation #
For full documentation, see Alice documentation or the Main Repository.