rest_ez 0.1.0+3
rest_ez: ^0.1.0+3 copied to clipboard
A comprehensive and easy-to-use REST API client package for Flutter applications with built-in error handling, timeout management, and web file download support.
0.1.0 #
- Initial release of RestEz package
- โจ Added comprehensive REST API client with support for GET, POST, PATCH, and DELETE methods
- ๐ Added built-in authentication handling with Bearer token support
- โฑ๏ธ Added configurable timeout management
- ๐ฏ Added type-safe responses with generic support
- ๐ Added comprehensive error handling with custom interceptors
- ๐ Added web-specific features: file downloads and PDF printing
- ๐ง Added flexible configuration options
- ๐ Added optional debug logging
- ๐งช Added comprehensive test coverage
- ๐ Added detailed documentation and examples
Features #
- RestEzClient: Main singleton client for making HTTP requests
- RestEzConfig: Configuration class for client setup
- APIResponse: Generic response wrapper with success/error handling
- ErrorInterceptor: Interface for custom error handling
- ResponseType: Enum for different response states
- ApiEndpoint: Interface for defining API endpoints
- Web Support: File download and PDF printing for Flutter Web
Breaking Changes #
- This is the initial release, so no breaking changes yet.