shared_preferences_cache_interceptor 1.0.0-dev.5 copy "shared_preferences_cache_interceptor: ^1.0.0-dev.5" to clipboard
shared_preferences_cache_interceptor: ^1.0.0-dev.5 copied to clipboard

Package to implements cache using shared preferences to hasura_connect package

Shared Preferences Cache Interceptor #

Hasura Connect Cache Interceptor using shared_preferences package

How to use #

pubspec.yaml

dependencies:
  hasura_connect: <last version>
  shared_preferences_cache_interceptor: <last version>

yourfile.dart

import 'package:hasura_connect/hasura_connect.dart';
import 'package:shared_preferences_cache_interceptor/shared_preferences_cache_interceptor.dart';

final cacheInterceptor = SharedPreferencesCacheInterceptor();
final hasura = HasuraConnect(
  "<your hasura url>",
  interceptors: [cacheInterceptor],
  httpClient: httpClient,
)
3
likes
140
points
32
downloads

Publisher

verified publisherflutterando.com.br

Weekly Downloads

Package to implements cache using shared preferences to hasura_connect package

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter, hasura_cache_interceptor, platform, shared_preferences

More

Packages that depend on shared_preferences_cache_interceptor