autopilot_api 1.0.1
autopilot_api: ^1.0.1 copied to clipboard
Zero-boilerplate smart API engine for Flutter. Only uses http + shared_preferences.
Changelog #
1.0.1 #
- Initial release
- GET, POST, PUT, PATCH, DELETE, MULTIPART, DOWNLOAD support
- Auto token injection via SharedPreferences
- Smart response parser with envelope support
- Two-layer cache (memory + SharedPreferences)
- Exponential backoff retry
- Request deduplication
- Auto token refresh on 401
- Beautiful colored debug logs with full payload printing
- .handle() and .mapData() response extensions
- Global loader + error callbacks
- Environment switching at runtime
- Pure Dart internet connectivity check
- Zero external dependencies beyond http + shared_preferences