dio_sync

Creator: coderz1093

Last updated:

0 purchases

dio_sync Image
dio_sync Images

Languages

Categories

Add to Cart

Description:

dio sync

how to use #
void test() async {
/// make sure you intialized hive


/// the best case is to use it in your root widget
var box = await SyncBox.create(client: Dio());

/// dont forgot to dispose the box after finish your work
await box.dispose();
}
copied to clipboard
if you want to use lazy loading for values you can use LazySyncBox #
void test() async {
/// make sure you intialized hive


/// the best case is to use it in your root widget
var box = await LazySyncBox.create(client: Dio());

/// dont forgot to dispose the box after finish your work
await box.dispose();
}
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.