rq_network_flutter 0.0.1 copy "rq_network_flutter: ^0.0.1" to clipboard
rq_network_flutter: ^0.0.1 copied to clipboard

This package, **rq_network_flutter**, provides a clean and concise API for making network requests and handling responses in your Flutter projects. With minimal code, you can easily send requests, par [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add rq_network_flutter

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

dependencies:
  rq_network_flutter: ^0.0.1

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:rq_network_flutter/config/config.dart';
import 'package:rq_network_flutter/helpers/preferences.dart';
import 'package:rq_network_flutter/helpers/typedefs.dart';
import 'package:rq_network_flutter/networking/api_endpoint.dart';
import 'package:rq_network_flutter/networking/api_interface.dart';
import 'package:rq_network_flutter/networking/api_service.dart';
import 'package:rq_network_flutter/networking/custom_exception.dart';
import 'package:rq_network_flutter/networking/dio_service.dart';
import 'package:rq_network_flutter/networking/interceptors/api_interceptor.dart';
import 'package:rq_network_flutter/networking/interceptors/logging_interceptor.dart';
import 'package:rq_network_flutter/networking/interceptors/refresh_token_interceptor.dart';
import 'package:rq_network_flutter/networking/response_model.dart';
import 'package:rq_network_flutter/rq_network.dart';
1
likes
120
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

This package, **rq_network_flutter**, provides a clean and concise API for making network requests and handling responses in your Flutter projects. With minimal code, you can easily send requests, parse responses, and handle errors.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

collection, connectivity_plus, dio, dio_cache_interceptor, flutter, logger, shared_preferences

More

Packages that depend on rq_network_flutter