dynamic_shared_preferences

Creator: coderz1093

Last updated:

0 purchases

dynamic_shared_preferences Image
dynamic_shared_preferences Images

Languages

Categories

Add to Cart

Description:

dynamic shared preferences

#Dynamic Shared Preferences

Features #
You can Save and retrieve following data with this package:
String, int, double, List<String>, dataModel
Getting started #
To use this package add dynamic_shared_preferences as dependency to your pubspec.yaml
dependencies:
...
dynamic_shared_preferences: ^0.0.1
copied to clipboard
Usage #
Instantiate #
DynamicSharedPreferences gen = DynamicSharedPreferences();
copied to clipboard
Save Values to a key #
gen.save(key: 'keyName', value: ParsedDataModel, isModel: true);
copied to clipboard
gen.save(key: 'keyName', value: 'keyValue', isModel: false);
copied to clipboard
Fetch Values from a key #
gen.get(key: 'keyName', isModel: true);
copied to clipboard
gen.get(key: 'keyName', isModel: false);
copied to clipboard
Remove Values for a key #
gen.remove(key: 'keyName');
copied to clipboard
Clear all key values #
gen.clear();
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.