network_client 0.0.1
network_client: ^0.0.1 copied to clipboard
A simple Dart package for making network requests (GET, POST, PATCH, PUT, DELETE.)
Network Client #
network_client is a simple Dart package for making HTTP requests (GET, POST, PATCH, PUT, DELETE) with automatic logging and response handling. It is a lightweight solution for developers to handle network communication in their applications.
Features #
- Supports common HTTP methods: GET, POST, PUT, PATCH, DELETE.
- Automatic logging of requests and responses.
- Handles JSON responses and errors.
- Easy to use and integrate with your Dart or Flutter application.
Installation #
Add the network_client dependency to your pubspec.yaml file:
dependencies:
network_client: ^0.0.1
Usage
Import the package
To use the network_client package, first import it: