network_cache_interceptor 1.0.0+1 copy "network_cache_interceptor: ^1.0.0+1" to clipboard
network_cache_interceptor: ^1.0.0+1 copied to clipboard

NetworkCacheInterceptor is a custom interceptor designed to optimize network requests by integrating caching functionality into your application using the Dio library.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add network_cache_interceptor

With Flutter:

 $ flutter pub add network_cache_interceptor

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

dependencies:
  network_cache_interceptor: ^1.0.0+1

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

Import it

Now in your Dart code, you can use:

import 'package:network_cache_interceptor/network_cache_interceptor.dart';
8
likes
0
points
433
downloads

Publisher

unverified uploader

Weekly Downloads

NetworkCacheInterceptor is a custom interceptor designed to optimize network requests by integrating caching functionality into your application using the Dio library.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, flutter, path, sqflite

More

Packages that depend on network_cache_interceptor