api_caller 2.0.1 copy "api_caller: ^2.0.1" to clipboard
api_caller: ^2.0.1 copied to clipboard

A flexible API helper built on Dio with support for singleton usage, dynamic base URL override, per-request bearer token, JSON & FormData requests, and typed responses.

2.0.1 🐛 Bug fixes & improvements

Fixed minor dartdoc warnings and formatting issues in comments.

Renamed example file to example/example.dart for pub.dev recognition.

Ensured all public API members have dartdoc comments (≥20% coverage).

Clarified ApiHelper method documentation for better readability.

Updated pubspec.yaml to include explicit platforms: section for proper scoring.

2.0.0 #

  • Major refactor of ApiHelper:
    • Singleton instance with dynamic base URL and token support.
    • Per-request token and base URL override.
    • GET, POST, PUT, DELETE, PATCH support.
    • JSON and Form-data body handling.
    • Global token can be updated at runtime.
    • Path registration and cloneable path items.
    • Response resolver support for typed responses.
    • Shortcut methods for GET and POST requests.

1.0.6 #

  • Initial version.
1
likes
160
points
54
downloads
screenshot

Publisher

verified publisherinfyrise.com

Weekly Downloads

A flexible API helper built on Dio with support for singleton usage, dynamic base URL override, per-request bearer token, JSON & FormData requests, and typed responses.

Homepage
Repository (GitHub)
View/report issues

Topics

#api #dio #http #network #dart

Documentation

API reference

License

MIT (license)

Dependencies

dio

More

Packages that depend on api_caller