rest_ez 0.1.0+3 copy "rest_ez: ^0.1.0+3" to clipboard
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.
2
likes
140
points
0
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on rest_ez