isar_key_value

Last updated:

0 purchases

isar_key_value Image
isar_key_value Images
Add to Cart

Description:

isar key value

Isar Key Value #
A key value store built on top of the Isar database.
Usage #
First create a store:
final store = IsarKeyValue();
copied to clipboard
Then use the store using simple set and get interface. Once a value is set, it can be retrieved
using either the key or the id that is returned from the set method.
final id = await store.set('key', 1);
final valueByKey = await store.get('key');
final valueById = await store.getById('key');
copied to clipboard
You can also use types if you like:
final id = await store.set<int>('key', 1);
final valueByKey = await store.get<int>('key');
final valueById = await store.getById<int>('key');
copied to clipboard
Additional information #
Feel free to report any bugs or add improvements on
IsarKeyValue Github.

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.