forked from eatvio/eatvio_app
refactor(diary): API methods all refactored and new nutrition charty finished
This commit is contained in:
@@ -26,7 +26,6 @@ mixin _$DiaryState {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -48,7 +47,8 @@ mixin _$DiaryState {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)
|
||||
loaded,
|
||||
required TResult Function(String errorMessage) error,
|
||||
}) =>
|
||||
@@ -63,7 +63,6 @@ mixin _$DiaryState {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -85,7 +84,8 @@ mixin _$DiaryState {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult? Function(String errorMessage)? error,
|
||||
}) =>
|
||||
@@ -100,7 +100,6 @@ mixin _$DiaryState {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -122,7 +121,8 @@ mixin _$DiaryState {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult Function(String errorMessage)? error,
|
||||
required TResult orElse(),
|
||||
@@ -219,7 +219,6 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -241,7 +240,8 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)
|
||||
loaded,
|
||||
required TResult Function(String errorMessage) error,
|
||||
}) {
|
||||
@@ -259,7 +259,6 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -281,7 +280,8 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult? Function(String errorMessage)? error,
|
||||
}) {
|
||||
@@ -299,7 +299,6 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -321,7 +320,8 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult Function(String errorMessage)? error,
|
||||
required TResult orElse(),
|
||||
@@ -420,7 +420,6 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -442,7 +441,8 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)
|
||||
loaded,
|
||||
required TResult Function(String errorMessage) error,
|
||||
}) {
|
||||
@@ -460,7 +460,6 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -482,7 +481,8 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult? Function(String errorMessage)? error,
|
||||
}) {
|
||||
@@ -500,7 +500,6 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -522,7 +521,8 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult Function(String errorMessage)? error,
|
||||
required TResult orElse(),
|
||||
@@ -587,7 +587,6 @@ abstract class _$$DiaryStateLoadedImplCopyWith<$Res> {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -609,7 +608,8 @@ abstract class _$$DiaryStateLoadedImplCopyWith<$Res> {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded});
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData});
|
||||
|
||||
$DiaryModelCopyWith<$Res> get diary;
|
||||
$MealCopyWith<$Res> get currentMeal;
|
||||
@@ -631,7 +631,6 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
Object? recommendedChartValues = null,
|
||||
Object? consumedChartValues = null,
|
||||
Object? portions = null,
|
||||
Object? photos = null,
|
||||
Object? mealList = null,
|
||||
Object? portionList = null,
|
||||
Object? autocompleteList = null,
|
||||
@@ -654,6 +653,7 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
Object? moodExpanded = null,
|
||||
Object? isLoading = null,
|
||||
Object? isAdded = null,
|
||||
Object? chartData = freezed,
|
||||
}) {
|
||||
return _then(_$DiaryStateLoadedImpl(
|
||||
diary: null == diary
|
||||
@@ -676,10 +676,6 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
? _value._portions
|
||||
: portions // ignore: cast_nullable_to_non_nullable
|
||||
as List<Portion>,
|
||||
photos: null == photos
|
||||
? _value._photos
|
||||
: photos // ignore: cast_nullable_to_non_nullable
|
||||
as List<Photo>,
|
||||
mealList: null == mealList
|
||||
? _value._mealList
|
||||
: mealList // ignore: cast_nullable_to_non_nullable
|
||||
@@ -768,6 +764,10 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
? _value.isAdded
|
||||
: isAdded // ignore: cast_nullable_to_non_nullable
|
||||
as bool,
|
||||
chartData: freezed == chartData
|
||||
? _value._chartData
|
||||
: chartData // ignore: cast_nullable_to_non_nullable
|
||||
as List<NutritionData>?,
|
||||
));
|
||||
}
|
||||
|
||||
@@ -797,7 +797,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
required final List<int> recommendedChartValues,
|
||||
required final List<int> consumedChartValues,
|
||||
required final List<Portion> portions,
|
||||
required final List<Photo> photos,
|
||||
required final List<SelectionPopupModel> mealList,
|
||||
required final List<SelectionPopupModel> portionList,
|
||||
required final List<Product> autocompleteList,
|
||||
@@ -819,14 +818,15 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
required this.moderationExpanded,
|
||||
required this.moodExpanded,
|
||||
required this.isLoading,
|
||||
required this.isAdded})
|
||||
required this.isAdded,
|
||||
final List<NutritionData>? chartData})
|
||||
: _recommendedChartValues = recommendedChartValues,
|
||||
_consumedChartValues = consumedChartValues,
|
||||
_portions = portions,
|
||||
_photos = photos,
|
||||
_mealList = mealList,
|
||||
_portionList = portionList,
|
||||
_autocompleteList = autocompleteList;
|
||||
_autocompleteList = autocompleteList,
|
||||
_chartData = chartData;
|
||||
|
||||
@override
|
||||
final DiaryModel diary;
|
||||
@@ -858,14 +858,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
return EqualUnmodifiableListView(_portions);
|
||||
}
|
||||
|
||||
final List<Photo> _photos;
|
||||
@override
|
||||
List<Photo> get photos {
|
||||
if (_photos is EqualUnmodifiableListView) return _photos;
|
||||
// ignore: implicit_dynamic_type
|
||||
return EqualUnmodifiableListView(_photos);
|
||||
}
|
||||
|
||||
final List<SelectionPopupModel> _mealList;
|
||||
@override
|
||||
List<SelectionPopupModel> get mealList {
|
||||
@@ -929,10 +921,19 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
final bool isLoading;
|
||||
@override
|
||||
final bool isAdded;
|
||||
final List<NutritionData>? _chartData;
|
||||
@override
|
||||
List<NutritionData>? get chartData {
|
||||
final value = _chartData;
|
||||
if (value == null) return null;
|
||||
if (_chartData is EqualUnmodifiableListView) return _chartData;
|
||||
// ignore: implicit_dynamic_type
|
||||
return EqualUnmodifiableListView(value);
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'DiaryState.loaded(diary: $diary, diaryDate: $diaryDate, recommendedChartValues: $recommendedChartValues, consumedChartValues: $consumedChartValues, portions: $portions, photos: $photos, mealList: $mealList, portionList: $portionList, autocompleteList: $autocompleteList, currentMeal: $currentMeal, portionController: $portionController, wakeupController: $wakeupController, retireController: $retireController, mealTimeController: $mealTimeController, commentController: $commentController, product_nameController: $product_nameController, productQuantityController: $productQuantityController, caloriesController: $caloriesController, fatsController: $fatsController, proteinsController: $proteinsController, carbsController: $carbsController, selectedMood: $selectedMood, selectedSatiety: $selectedSatiety, wakeupExpanded: $wakeupExpanded, moderationExpanded: $moderationExpanded, moodExpanded: $moodExpanded, isLoading: $isLoading, isAdded: $isAdded)';
|
||||
return 'DiaryState.loaded(diary: $diary, diaryDate: $diaryDate, recommendedChartValues: $recommendedChartValues, consumedChartValues: $consumedChartValues, portions: $portions, mealList: $mealList, portionList: $portionList, autocompleteList: $autocompleteList, currentMeal: $currentMeal, portionController: $portionController, wakeupController: $wakeupController, retireController: $retireController, mealTimeController: $mealTimeController, commentController: $commentController, product_nameController: $product_nameController, productQuantityController: $productQuantityController, caloriesController: $caloriesController, fatsController: $fatsController, proteinsController: $proteinsController, carbsController: $carbsController, selectedMood: $selectedMood, selectedSatiety: $selectedSatiety, wakeupExpanded: $wakeupExpanded, moderationExpanded: $moderationExpanded, moodExpanded: $moodExpanded, isLoading: $isLoading, isAdded: $isAdded, chartData: $chartData)';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -948,7 +949,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
const DeepCollectionEquality()
|
||||
.equals(other._consumedChartValues, _consumedChartValues) &&
|
||||
const DeepCollectionEquality().equals(other._portions, _portions) &&
|
||||
const DeepCollectionEquality().equals(other._photos, _photos) &&
|
||||
const DeepCollectionEquality().equals(other._mealList, _mealList) &&
|
||||
const DeepCollectionEquality()
|
||||
.equals(other._portionList, _portionList) &&
|
||||
@@ -991,7 +991,9 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
other.moodExpanded == moodExpanded) &&
|
||||
(identical(other.isLoading, isLoading) ||
|
||||
other.isLoading == isLoading) &&
|
||||
(identical(other.isAdded, isAdded) || other.isAdded == isAdded));
|
||||
(identical(other.isAdded, isAdded) || other.isAdded == isAdded) &&
|
||||
const DeepCollectionEquality()
|
||||
.equals(other._chartData, _chartData));
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -1002,7 +1004,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
const DeepCollectionEquality().hash(_recommendedChartValues),
|
||||
const DeepCollectionEquality().hash(_consumedChartValues),
|
||||
const DeepCollectionEquality().hash(_portions),
|
||||
const DeepCollectionEquality().hash(_photos),
|
||||
const DeepCollectionEquality().hash(_mealList),
|
||||
const DeepCollectionEquality().hash(_portionList),
|
||||
const DeepCollectionEquality().hash(_autocompleteList),
|
||||
@@ -1024,7 +1025,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
moderationExpanded,
|
||||
moodExpanded,
|
||||
isLoading,
|
||||
isAdded
|
||||
isAdded,
|
||||
const DeepCollectionEquality().hash(_chartData)
|
||||
]);
|
||||
|
||||
@JsonKey(ignore: true)
|
||||
@@ -1045,7 +1047,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -1067,7 +1068,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)
|
||||
loaded,
|
||||
required TResult Function(String errorMessage) error,
|
||||
}) {
|
||||
@@ -1077,7 +1079,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
recommendedChartValues,
|
||||
consumedChartValues,
|
||||
portions,
|
||||
photos,
|
||||
mealList,
|
||||
portionList,
|
||||
autocompleteList,
|
||||
@@ -1099,7 +1100,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
moderationExpanded,
|
||||
moodExpanded,
|
||||
isLoading,
|
||||
isAdded);
|
||||
isAdded,
|
||||
chartData);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -1113,7 +1115,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -1135,7 +1136,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult? Function(String errorMessage)? error,
|
||||
}) {
|
||||
@@ -1145,7 +1147,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
recommendedChartValues,
|
||||
consumedChartValues,
|
||||
portions,
|
||||
photos,
|
||||
mealList,
|
||||
portionList,
|
||||
autocompleteList,
|
||||
@@ -1167,7 +1168,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
moderationExpanded,
|
||||
moodExpanded,
|
||||
isLoading,
|
||||
isAdded);
|
||||
isAdded,
|
||||
chartData);
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -1181,7 +1183,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -1203,7 +1204,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult Function(String errorMessage)? error,
|
||||
required TResult orElse(),
|
||||
@@ -1215,7 +1217,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
recommendedChartValues,
|
||||
consumedChartValues,
|
||||
portions,
|
||||
photos,
|
||||
mealList,
|
||||
portionList,
|
||||
autocompleteList,
|
||||
@@ -1237,7 +1238,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
moderationExpanded,
|
||||
moodExpanded,
|
||||
isLoading,
|
||||
isAdded);
|
||||
isAdded,
|
||||
chartData);
|
||||
}
|
||||
return orElse();
|
||||
}
|
||||
@@ -1287,7 +1289,6 @@ abstract class DiaryStateLoaded implements DiaryState {
|
||||
required final List<int> recommendedChartValues,
|
||||
required final List<int> consumedChartValues,
|
||||
required final List<Portion> portions,
|
||||
required final List<Photo> photos,
|
||||
required final List<SelectionPopupModel> mealList,
|
||||
required final List<SelectionPopupModel> portionList,
|
||||
required final List<Product> autocompleteList,
|
||||
@@ -1309,14 +1310,14 @@ abstract class DiaryStateLoaded implements DiaryState {
|
||||
required final bool moderationExpanded,
|
||||
required final bool moodExpanded,
|
||||
required final bool isLoading,
|
||||
required final bool isAdded}) = _$DiaryStateLoadedImpl;
|
||||
required final bool isAdded,
|
||||
final List<NutritionData>? chartData}) = _$DiaryStateLoadedImpl;
|
||||
|
||||
DiaryModel get diary;
|
||||
String? get diaryDate;
|
||||
List<int> get recommendedChartValues;
|
||||
List<int> get consumedChartValues;
|
||||
List<Portion> get portions;
|
||||
List<Photo> get photos;
|
||||
List<SelectionPopupModel> get mealList;
|
||||
List<SelectionPopupModel> get portionList;
|
||||
List<Product> get autocompleteList;
|
||||
@@ -1339,6 +1340,7 @@ abstract class DiaryStateLoaded implements DiaryState {
|
||||
bool get moodExpanded;
|
||||
bool get isLoading;
|
||||
bool get isAdded;
|
||||
List<NutritionData>? get chartData;
|
||||
@JsonKey(ignore: true)
|
||||
_$$DiaryStateLoadedImplCopyWith<_$DiaryStateLoadedImpl> get copyWith =>
|
||||
throw _privateConstructorUsedError;
|
||||
@@ -1418,7 +1420,6 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -1440,7 +1441,8 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)
|
||||
loaded,
|
||||
required TResult Function(String errorMessage) error,
|
||||
}) {
|
||||
@@ -1458,7 +1460,6 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -1480,7 +1481,8 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult? Function(String errorMessage)? error,
|
||||
}) {
|
||||
@@ -1498,7 +1500,6 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
@@ -1520,7 +1521,8 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
bool moderationExpanded,
|
||||
bool moodExpanded,
|
||||
bool isLoading,
|
||||
bool isAdded)?
|
||||
bool isAdded,
|
||||
List<NutritionData>? chartData)?
|
||||
loaded,
|
||||
TResult Function(String errorMessage)? error,
|
||||
required TResult orElse(),
|
||||
|
||||
Reference in New Issue
Block a user