Skip to content

Commit e377db7

Browse files
committed
Explicitly return null
1 parent 31f840d commit e377db7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/providers/nutrition.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class NutritionPlansProvider with ChangeNotifier {
6868
if (_plans.isNotEmpty) {
6969
return _plans.first;
7070
}
71+
return null;
7172
}
7273

7374
NutritionalPlan findById(int id) {

0 commit comments

Comments
 (0)