A library that stores int, double, String and bool in encrypted storage. Vault stores it's contents in persistent storage.
Import package as vault
.
import 'package:vault/vault.dart' as vault;
You can save a value
in secure storage by passing a key
.
vault.save(key, value);
You can get a value
from secure storage by passing their key
.
vault.get(key);
You can listen to live changes done to a value
by passing their key
.
vault.listen(key);
You can delete a value
by passing their key
.
vault.delete(key);
Deletes all the values stored in vault
.
vault.listen(key);
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.