easy_data_cache

Creator: coderz1093

Last updated:

0 purchases

easy_data_cache Image
easy_data_cache Images
Add to Cart

Description:

easy data cache

Key-value database with expiration time
Usage #
Initialize :
await EasyDataCache.init();
copied to clipboard
Usage :
EasyDataCache.put('key', 'value', duration: Duration(seconds: 5));

//or

EasyDataCache.put('key', 'value', expirationDate: DateTime(2025, 1, 1));
copied to clipboard
print(EasyDataCache.get('key'));
copied to clipboard
print(EasyDataCache.containsKey('key'));
copied to clipboard
print(EasyDataCache.delete('key'));
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.