dart fix --apply

This commit is contained in:
Dieter Plaetinck
2024-06-20 15:47:55 +03:00
parent 6e1d3f9568
commit 11ee38c03d
38 changed files with 72 additions and 72 deletions

View File

@@ -75,7 +75,7 @@ class NutritionPlansProvider with ChangeNotifier {
NutritionalPlan findById(int id) {
return _plans.firstWhere(
(plan) => plan.id == id,
orElse: () => throw NoSuchEntryException(),
orElse: () => throw const NoSuchEntryException(),
);
}