retrofit.dart is a type conversion dio client generator using source_gen and inspired by Chopper and Retrofit. If you want to parse models on a separate thread, you can take advantage of the compute function, just like Dio does when converting String data responses into json objects. Avoid using Map values, otherwise, multiple background isolates will be spawned to perform the computation, which is extremely intensive for Dart.
Features
- Add the generator to your dev dependencies
- Define and Generate your API
- HTTP Methods
- Get original HTTP response
- Add a HTTP header from the parameter of the method
- Multiple endpoints support
Categories
HTTP ClientsLicense
MIT LicenseFollow Retrofit For Dart
Other Useful Business Software
Your top-rated shield against malware and online scams | Avast Free Antivirus
Our antivirus software scans for security and performance issues and helps you to fix them instantly. It also protects you in real time by analyzing unknown files before they reach your desktop PC or laptop — all for free.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Retrofit For Dart!