typed_cache_json 0.1.0
typed_cache_json: ^0.1.0 copied to clipboard
A typed cache implementation for Flutter that uses JSON serialization.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add typed_cache_jsonWith Flutter:
$ flutter pub add typed_cache_jsonThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
typed_cache_json: ^0.1.0Alternatively, 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:typed_cache_json/typed_cache_json.dart';