shared_preferences_cache_interceptor

Last updated:

0 purchases

shared_preferences_cache_interceptor Image
shared_preferences_cache_interceptor Images
Add to Cart

Description:

shared preferences cache interceptor

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>
copied to clipboard
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,
)
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.