apsl_api_call 0.0.3
apsl_api_call: ^0.0.3 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 Bug Fixes #
0.0.1 Initial Release #
Added #
- Initial implementation of the
apsl_api_callpackage. ApiCallclass 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.
APIRequestInfoObjclass for representing the information required for an API request.UploadDocumentObjclass for representing the information required for uploading a document.ApiErrorMessageclass 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.