deleteAllBooksProgress method
Implementation
Future<bool> deleteAllBooksProgress() async {
try {
await isar.writeTxn(() async {
await isar.bookProgressModels.where().deleteAll();
});
return true;
} on Exception {
return false;
}
}