smart_api_executor 0.1.0
smart_api_executor: ^0.1.0 copied to clipboard
A lightweight API lifecycle executor for Dart and Flutter applications. Simplifies loading, success, failure and no-internet handling.
0.0.1 #
- Initial release of smart_api_executor
- Introduced
ApiExecutorfor standardized API execution - Added
ApiResultwrapper with typed result states - Supported states:
initial,loading,success,failure,noInternet - Optional no-internet detection via
isNoInternet - Pure Dart implementation (no Flutter UI dependency)
- Designed to work with any architecture or state management (BLoC, Riverpod, Provider, GetX)
0.1.0 #
- Added retry support for failed API calls
- Added timeout support for long-running requests
- Added
when()helper for developer-friendly result handling - Improved error handling and extensibility