callapi 1.0.1 copy "callapi: ^1.0.1" to clipboard
callapi: ^1.0.1 copied to clipboard

A Dart package that provides an easy-to-use and efficient way to make HTTP requests to an API. It supports GET, POST, PUT, PATCH, and DELETE methods, parses JSON responses into custom data types, and [...]

Changelog #

1.0.1 #

  • Updated package description
  • Updated README.md

1.0.0 #

  • Initial version.
  • Supports GET, POST, PUT, PATCH, and DELETE HTTP methods.
  • Provides a method to parse the JSON response from the server into a custom data type.
  • Includes error handling functionality, throwing an CallApiException whenever an error occurs during an API call.
  • Implemented as a singleton to ensure only one instance exists for each base URL, allowing for efficient reuse of the instances across the application.
0
likes
130
pub points
0%
popularity

Publisher

verified publisherlivnium.com

A Dart package that provides an easy-to-use and efficient way to make HTTP requests to an API. It supports GET, POST, PUT, PATCH, and DELETE methods, parses JSON responses into custom data types, and includes robust error handling functionality. Designed with singleton pattern for resource efficiency.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

http

More

Packages that depend on callapi