We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31f840d commit e377db7Copy full SHA for e377db7
lib/providers/nutrition.dart
@@ -68,6 +68,7 @@ class NutritionPlansProvider with ChangeNotifier {
68
if (_plans.isNotEmpty) {
69
return _plans.first;
70
}
71
+ return null;
72
73
74
NutritionalPlan findById(int id) {
0 commit comments