gg_cache 1.0.6 copy "gg_cache: ^1.0.6" to clipboard
gg_cache: ^1.0.6 copied to clipboard

A simple cache method that helps us to cache results of a function.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add gg_cache

With Flutter:

 $ flutter pub add gg_cache

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

dependencies:
  gg_cache: ^1.0.6

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:gg_cache/gg_cache.dart';
0
likes
160
pub points
44%
popularity

Publisher

verified publisherinlavigo.com

A simple cache method that helps us to cache results of a function.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

gg_list

More

Packages that depend on gg_cache