Chopper
To use Alice with Chopper, add the adapter to your project.
Installation
Add this to your pubspec.yaml file:
dependencies:
alice_chopper: ^1.3.0
Usage
/// Create Alice instance
Alice alice = Alice();
/// Create Alice Chopper Adapter
AliceChopperAdapter aliceChopperAdapter = AliceChopperAdapter();
///Add adapter to Alice
alice.addAdapter(aliceChopperAdapter);
/// Create chopper client
ChopperClient chopperClient = ChopperClient(
interceptors: [_aliceChopperAdapter],
);