dio_result_handler 1.0.2
dio_result_handler: ^1.0.2 copied to clipboard
A lightweight Flutter package for simplified API handling using Dio, with built-in success & failure result wrapping via ApiResult.
1.0.2 #
- Just updated the example/main.dart and added comments for better understanding.
1.0.1 #
- Added support for
connectTimeoutandreceiveTimeoutinDioApiHandlerConfig. - Improved configuration flexibility for network timeouts.
1.0.0 #
- Initial release with core API handling built on top of Dio.
- Added
ApiResultwithApiSuccessandApiFailurefor clean response handling. - Added
ApiHandler.request()for unified GET, POST, PUT, and DELETE calls. - Added
ApiClientwith token management (setToken,clearToken). - Added
DioApiHandlerConfigfor centralized base URL, token, and error callback setup.