0 purchases
vault
Vault #
A library that stores int, double, String and bool in encrypted storage. Vault stores it's contents in persistent storage.
Usage #
Import package as vault.
import 'package:vault/vault.dart' as vault;
copied to clipboard
Save #
You can save a value in secure storage by passing a key.
vault.save(key, value);
copied to clipboard
Get #
You can get a value from secure storage by passing their key.
vault.get(key);
copied to clipboard
Listen #
You can listen to live changes done to a value by passing their key.
vault.listen(key);
copied to clipboard
Delete #
You can delete a value by passing their key.
vault.delete(key);
copied to clipboard
Delete All #
Deletes all the values stored in vault.
vault.listen(key);
copied to clipboard
Contributing #
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License #
MIT
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.