kd_api_call 0.0.4 copy "kd_api_call: ^0.0.4" to clipboard
kd_api_call: ^0.0.4 copied to clipboard

outdated

A composable, multi-platform, Future-based API for HTTP requests.

A composable, Future-based library for making HTTP requests.

Null Safety

This package contains a set of high-level functions and classes that make it easy to consume HTTP resources. It's multi-platform, and supports mobile, desktop, and the browser.

Using #

The easiest way to use this library is via the top-level functions. They allow you to make individual HTTP requests with minimal hassle:

import 'package:kd_api_call/kd_api_call.dart';

 APIRequestInfoObj requestInfo = APIRequestInfoObj(
        url: "https://jsonplaceholder.typicode.com/albums/1",
        requestType: HTTPRequestType.GET,
      );

Response apiResponse =
          await ApiCall.callService(requestInfo: requestInfo);

8
likes
0
pub points
61%
popularity

Publisher

verified publishersutariya-technologies.com

A composable, multi-platform, Future-based API for HTTP requests.

Repository (GitLab)
View/report issues

License

unknown (LICENSE)

Dependencies

connectivity_plus, flutter, http, path

More

Packages that depend on kd_api_call