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

Project Samples

Project Activity

See All Activity >

Categories

HTTP Clients

License

MIT License

Follow Retrofit For Dart

Retrofit For Dart Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Retrofit For Dart!

Additional Project Details

Programming Language

Dart

Related Categories

Dart HTTP Clients

Registered

2023-05-17