callapi 1.0.0 copy "callapi: ^1.0.0" to clipboard
callapi: ^1.0.0 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.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
points
17
downloads

Publisher

verified publisherlivnium.com

Weekly Downloads

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)

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on callapi