api_queue_handler 1.0.4 copy "api_queue_handler: ^1.0.4" to clipboard
api_queue_handler: ^1.0.4 copied to clipboard

Queue up your API requests effortlessly, ensuring they are processed one after the other.

Queue up your API requests effortlessly, ensuring they are processed one after the other. #

    import 'package:api_queue_handler/api_queue_handler.dart';
   
   ApiManager().initialize('Your base url');

   final ResponseModel responseModel1 = ApiManager().request(endpoint: 'a',runParallel:false);
   final ResponseModel responseModel2 = ApiManager().request(endpoint: 'b',runParallel:false);
   final ResponseModel responseModel3 = ApiManager().request(endpoint: 'c',runParallel:false);

1
likes
130
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

Queue up your API requests effortlessly, ensuring they are processed one after the other.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on api_queue_handler