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

outdated

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.2

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
0
pub points
0%
popularity

Publisher

unverified uploader

A cache for Flutter project implement it with mmkv framework.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, mmkv_flutter

More

Packages that depend on mmkv_flutter_cache