mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
dart fix --apply
This commit is contained in:
@@ -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(),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user