unified_http_client 0.0.4
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_clientThis 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.4Alternatively, 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';