restify 0.2.8 copy "restify: ^0.2.8" to clipboard
restify: ^0.2.8 copied to clipboard

A new http request manager.

Restify is a versatile Flutter package that simplifies making RESTful API requests in your Flutter application. It provides a clean and intuitive API for sending HTTP requests and handling responses, making it easier to integrate external services and data into your app.

Features #

  • Simple API Calls: Easily make GET, POST, PUT, DELETE, and PATCH requests with minimal code.
  • JSON Serialization: Automatically serialize and deserialize JSON data.
  • Error Handling: Convenient error handling and response status checks.
  • Custom Headers: Include custom headers with your requests.
  • Async/Await: Supports asynchronous operations for non-blocking requests.
  • Query Parameters: Construct query parameters effortlessly.

Getting started #

To start using Restify,

flutter pub add restify

or add the Restify package to your pubspec.yaml file:

dependencies:
  restify: ^1.0.0

Usage #

UserModel user = await Restify.get<UserModel>('/user');

Additional information #

My name is Felipe Kaian, I am the author of this package, you can find me on LinkedIn or through the email felipekaianmutti@gmail.com. You can bring improvements, suggestions, and feedback – the more, the better. I hope this package helps our Flutter community grow even more!

1
likes
100
pub points
49%
popularity

Publisher

unverified uploader

A new http request manager.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter, http

More

Packages that depend on restify