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

A Flutter Package to provide smooth Api call with All Error and Exception handeled.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add unified_http_client

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  unified_http_client: ^0.0.4

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:unified_http_client/dio_api.dart';
import 'package:unified_http_client/error_handeler.dart';
import 'package:unified_http_client/error_handeler_flutter.dart';
import 'package:unified_http_client/http_api.dart';
import 'package:unified_http_client/internet_checker.dart';
import 'package:unified_http_client/result.dart';
import 'package:unified_http_client/snackbar.dart';
import 'package:unified_http_client/unified_interceptor.dart';
import 'package:unified_http_client/unified_options.dart';
0
likes
115
points
244
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter Package to provide smooth Api call with All Error and Exception handeled.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

connectivity_plus, dio, flutter, http

More

Packages that depend on unified_http_client