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

A cache for Flutter project implement it with mmkv framework.

mmkv_flutter_cache #

pub package

A cache for Flutter project implement it with mmkv framework. and support expires

Getting Started #

dependencies:
  mmkv_flutter_cache: ^0.0.4

Usage #

import 'package:mmkv_flutter_cache/mmkv_flutter_cache.dart';

/// add value to cache will expired in 1 hour
final boolRes = await Cache.add('key', 'value', expired: 1  );

/// get value from cache
final value = await Cache.get('key');

0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

A cache for Flutter project implement it with mmkv framework.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter, mmkv_flutter

More

Packages that depend on mmkv_flutter_cache