apsl_api_call 0.0.2 copy "apsl_api_call: ^0.0.2" to clipboard
apsl_api_call: ^0.0.2 copied to clipboard

A robust Flutter package for streamlined API calls. Simplifies error handling, supports multipart requests, and integrates seamlessly with various backends. Ideal for apps requiring reliable network c [...]

[0.0.2] - Up #

[0.0.1] - Initial Release #

Added #

  • Initial implementation of the apsl_api_call package.
  • ApiCall class for handling API calls and exceptions.
    • Methods for regular and multipart API calls.
    • Connectivity checks before making API calls.
    • Exception handling for various error scenarios.
  • APIRequestInfoObj class for representing the information required for an API request.
  • UploadDocumentObj class for representing the information required for uploading a document.
  • ApiErrorMessage class providing a collection of predefined error messages for API calls.
    • General error messages.
    • No internet connection error messages.
    • Authorization error messages.
    • Maintenance error messages.
    • Format and server error messages.
    • Timeout error messages.

Notes #

  • This is the initial release of the package, providing foundational functionality for making API calls and handling exceptions.
2
likes
120
points
47
downloads

Publisher

verified publisherappstonelab.com

Weekly Downloads

A robust Flutter package for streamlined API calls. Simplifies error handling, supports multipart requests, and integrates seamlessly with various backends. Ideal for apps requiring reliable network communication.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

connectivity_plus, flutter, http, path

More

Packages that depend on apsl_api_call