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

A Flutter package offering multiple ways to cache responses obtained from web requests.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add web_response_cache

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

dependencies:
  web_response_cache: ^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:web_response_cache/cached_web_request.dart';
import 'package:web_response_cache/web_cache_document.dart';
import 'package:web_response_cache/web_cache_type/abstract_web_cache_type.dart';
import 'package:web_response_cache/web_cache_type/time_cache_type.dart';
import 'package:web_response_cache/web_cache_type/util_web_cache_type.dart';
2
likes
130
points
32
downloads

Publisher

verified publisherschlosser.dev

Weekly Downloads

A Flutter package offering multiple ways to cache responses obtained from web requests.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, path_provider

More

Packages that depend on web_response_cache