rest_api_impl 0.0.7
rest_api_impl: ^0.0.7 copied to clipboard
A Dart package providing a robust REST API IMPL service implementation with HTTP request handling, CRUD operations, and file management.
Changelog #
All notable changes to this project will be documented in this file.
0.0.7 #
0.0.6 #
Jul 29, 2025 #
Added #
- Support for selecting API client type using
RestApiClientTypeenum (dio,http). - Introduced
IRestApiConfiginterface andDefaultRestApiConfigimplementation with configurable base URL and API key. - Updated repository and service DI registration to respect selected client type (Dio or Http).
- Ensured
Methodenum is exhaustively handled using theswitchstatement.
0.0.5 #
- Update example file.
0.0.4 #
- Update export file.
0.0.3 #
- Created Register Local Data Source Service GetIt DI.
- Created Register RestApi Data Source Service GetIt DI.
0.0.2 #
Added #
- Dependency injection-based service registration
- Support for HTTP methods: GET, POST, PUT, PATCH, DELETE
- Response handling with error management
- File upload and deletion support
- Configurable base URL and API key
- Example usage for API calls and file uploads
Future updates will include additional features, optimizations, and bug fixes.
0.0.1 #
- Initial Release