chopper icon indicating copy to clipboard operation
chopper copied to clipboard

How to declare and make use of multiple ChopperService in flutter?

Open Purvik opened this issue 3 years ago • 2 comments

We have been using single ApiClient class extending a ChooperService which defined every other API contracts and ChopperClient as well. We just figured out that we can also have multiple services defined with our ChopperClient. Hence want to know how we can achieve that in our flutter project and what's the best architecture set up for it?

Purvik avatar Aug 09 '21 15:08 Purvik

Do you mean you want all the services to have just one ChopperClient?

NinoBass avatar Aug 25 '21 22:08 NinoBass

Yes, we have been working on it and we've achieved the setup I was looking for in my question. Soon, I'll be adding an example of it and give it a PR.

Purvik avatar Dec 28 '21 13:12 Purvik