forked from eatvio/eatvio_app
fix(diary): Remove portion API call fixed
This commit is contained in:
@@ -23,20 +23,20 @@ mixin _$DiaryState {
|
||||
required TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -60,20 +60,20 @@ mixin _$DiaryState {
|
||||
TResult? Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -97,20 +97,20 @@ mixin _$DiaryState {
|
||||
TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -216,20 +216,20 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
required TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -256,20 +256,20 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
TResult? Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -296,20 +296,20 @@ class _$DiaryStateImpl implements _DiaryState {
|
||||
TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -417,20 +417,20 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
required TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -457,20 +457,20 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
TResult? Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -497,20 +497,20 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
||||
TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -584,20 +584,20 @@ abstract class _$$DiaryStateLoadedImplCopyWith<$Res> {
|
||||
$Res call(
|
||||
{DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -628,20 +628,20 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
$Res call({
|
||||
Object? diary = null,
|
||||
Object? diaryDate = freezed,
|
||||
Object? autocompleteList = null,
|
||||
Object? recommendedChartValues = null,
|
||||
Object? consumedChartValues = null,
|
||||
Object? portions = null,
|
||||
Object? photos = null,
|
||||
Object? mealList = null,
|
||||
Object? portionList = null,
|
||||
Object? autocompleteList = null,
|
||||
Object? currentMeal = null,
|
||||
Object? portionController = null,
|
||||
Object? wakeupController = freezed,
|
||||
Object? retireController = freezed,
|
||||
Object? mealTimeController = freezed,
|
||||
Object? commentController = null,
|
||||
Object? productNameController = null,
|
||||
Object? product_nameController = null,
|
||||
Object? productQuantityController = null,
|
||||
Object? caloriesController = null,
|
||||
Object? fatsController = null,
|
||||
@@ -664,10 +664,6 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
? _value.diaryDate
|
||||
: diaryDate // ignore: cast_nullable_to_non_nullable
|
||||
as String?,
|
||||
autocompleteList: null == autocompleteList
|
||||
? _value._autocompleteList
|
||||
: autocompleteList // ignore: cast_nullable_to_non_nullable
|
||||
as List<dynamic>,
|
||||
recommendedChartValues: null == recommendedChartValues
|
||||
? _value._recommendedChartValues
|
||||
: recommendedChartValues // ignore: cast_nullable_to_non_nullable
|
||||
@@ -692,6 +688,10 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
? _value._portionList
|
||||
: portionList // ignore: cast_nullable_to_non_nullable
|
||||
as List<SelectionPopupModel>,
|
||||
autocompleteList: null == autocompleteList
|
||||
? _value._autocompleteList
|
||||
: autocompleteList // ignore: cast_nullable_to_non_nullable
|
||||
as List<Product>,
|
||||
currentMeal: null == currentMeal
|
||||
? _value.currentMeal
|
||||
: currentMeal // ignore: cast_nullable_to_non_nullable
|
||||
@@ -716,9 +716,9 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
||||
? _value.commentController
|
||||
: commentController // ignore: cast_nullable_to_non_nullable
|
||||
as TextEditingController,
|
||||
productNameController: null == productNameController
|
||||
? _value.productNameController
|
||||
: productNameController // ignore: cast_nullable_to_non_nullable
|
||||
product_nameController: null == product_nameController
|
||||
? _value.product_nameController
|
||||
: product_nameController // ignore: cast_nullable_to_non_nullable
|
||||
as TextEditingController,
|
||||
productQuantityController: null == productQuantityController
|
||||
? _value.productQuantityController
|
||||
@@ -794,20 +794,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
const _$DiaryStateLoadedImpl(
|
||||
{required this.diary,
|
||||
this.diaryDate,
|
||||
required final List<dynamic> autocompleteList,
|
||||
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,
|
||||
required this.currentMeal,
|
||||
required this.portionController,
|
||||
this.wakeupController,
|
||||
this.retireController,
|
||||
this.mealTimeController,
|
||||
required this.commentController,
|
||||
required this.productNameController,
|
||||
required this.product_nameController,
|
||||
required this.productQuantityController,
|
||||
required this.caloriesController,
|
||||
required this.fatsController,
|
||||
@@ -820,27 +820,18 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
required this.moodExpanded,
|
||||
required this.isLoading,
|
||||
required this.isAdded})
|
||||
: _autocompleteList = autocompleteList,
|
||||
_recommendedChartValues = recommendedChartValues,
|
||||
: _recommendedChartValues = recommendedChartValues,
|
||||
_consumedChartValues = consumedChartValues,
|
||||
_portions = portions,
|
||||
_photos = photos,
|
||||
_mealList = mealList,
|
||||
_portionList = portionList;
|
||||
_portionList = portionList,
|
||||
_autocompleteList = autocompleteList;
|
||||
|
||||
@override
|
||||
final DiaryModel diary;
|
||||
@override
|
||||
final String? diaryDate;
|
||||
final List<dynamic> _autocompleteList;
|
||||
@override
|
||||
List<dynamic> get autocompleteList {
|
||||
if (_autocompleteList is EqualUnmodifiableListView)
|
||||
return _autocompleteList;
|
||||
// ignore: implicit_dynamic_type
|
||||
return EqualUnmodifiableListView(_autocompleteList);
|
||||
}
|
||||
|
||||
final List<int> _recommendedChartValues;
|
||||
@override
|
||||
List<int> get recommendedChartValues {
|
||||
@@ -891,6 +882,15 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
return EqualUnmodifiableListView(_portionList);
|
||||
}
|
||||
|
||||
final List<Product> _autocompleteList;
|
||||
@override
|
||||
List<Product> get autocompleteList {
|
||||
if (_autocompleteList is EqualUnmodifiableListView)
|
||||
return _autocompleteList;
|
||||
// ignore: implicit_dynamic_type
|
||||
return EqualUnmodifiableListView(_autocompleteList);
|
||||
}
|
||||
|
||||
@override
|
||||
final Meal currentMeal;
|
||||
@override
|
||||
@@ -904,7 +904,7 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
@override
|
||||
final TextEditingController commentController;
|
||||
@override
|
||||
final TextEditingController productNameController;
|
||||
final TextEditingController product_nameController;
|
||||
@override
|
||||
final TextEditingController productQuantityController;
|
||||
@override
|
||||
@@ -932,7 +932,7 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'DiaryState.loaded(diary: $diary, diaryDate: $diaryDate, autocompleteList: $autocompleteList, recommendedChartValues: $recommendedChartValues, consumedChartValues: $consumedChartValues, portions: $portions, photos: $photos, mealList: $mealList, portionList: $portionList, currentMeal: $currentMeal, portionController: $portionController, wakeupController: $wakeupController, retireController: $retireController, mealTimeController: $mealTimeController, commentController: $commentController, productNameController: $productNameController, 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, 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)';
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -943,8 +943,6 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
(identical(other.diary, diary) || other.diary == diary) &&
|
||||
(identical(other.diaryDate, diaryDate) ||
|
||||
other.diaryDate == diaryDate) &&
|
||||
const DeepCollectionEquality()
|
||||
.equals(other._autocompleteList, _autocompleteList) &&
|
||||
const DeepCollectionEquality().equals(
|
||||
other._recommendedChartValues, _recommendedChartValues) &&
|
||||
const DeepCollectionEquality()
|
||||
@@ -954,6 +952,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
const DeepCollectionEquality().equals(other._mealList, _mealList) &&
|
||||
const DeepCollectionEquality()
|
||||
.equals(other._portionList, _portionList) &&
|
||||
const DeepCollectionEquality()
|
||||
.equals(other._autocompleteList, _autocompleteList) &&
|
||||
(identical(other.currentMeal, currentMeal) ||
|
||||
other.currentMeal == currentMeal) &&
|
||||
(identical(other.portionController, portionController) ||
|
||||
@@ -966,8 +966,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
other.mealTimeController == mealTimeController) &&
|
||||
(identical(other.commentController, commentController) ||
|
||||
other.commentController == commentController) &&
|
||||
(identical(other.productNameController, productNameController) ||
|
||||
other.productNameController == productNameController) &&
|
||||
(identical(other.product_nameController, product_nameController) ||
|
||||
other.product_nameController == product_nameController) &&
|
||||
(identical(other.productQuantityController,
|
||||
productQuantityController) ||
|
||||
other.productQuantityController == productQuantityController) &&
|
||||
@@ -999,20 +999,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
runtimeType,
|
||||
diary,
|
||||
diaryDate,
|
||||
const DeepCollectionEquality().hash(_autocompleteList),
|
||||
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),
|
||||
currentMeal,
|
||||
portionController,
|
||||
wakeupController,
|
||||
retireController,
|
||||
mealTimeController,
|
||||
commentController,
|
||||
productNameController,
|
||||
product_nameController,
|
||||
productQuantityController,
|
||||
caloriesController,
|
||||
fatsController,
|
||||
@@ -1042,20 +1042,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
required TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -1074,20 +1074,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
return loaded(
|
||||
diary,
|
||||
diaryDate,
|
||||
autocompleteList,
|
||||
recommendedChartValues,
|
||||
consumedChartValues,
|
||||
portions,
|
||||
photos,
|
||||
mealList,
|
||||
portionList,
|
||||
autocompleteList,
|
||||
currentMeal,
|
||||
portionController,
|
||||
wakeupController,
|
||||
retireController,
|
||||
mealTimeController,
|
||||
commentController,
|
||||
productNameController,
|
||||
product_nameController,
|
||||
productQuantityController,
|
||||
caloriesController,
|
||||
fatsController,
|
||||
@@ -1110,20 +1110,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
TResult? Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -1142,20 +1142,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
return loaded?.call(
|
||||
diary,
|
||||
diaryDate,
|
||||
autocompleteList,
|
||||
recommendedChartValues,
|
||||
consumedChartValues,
|
||||
portions,
|
||||
photos,
|
||||
mealList,
|
||||
portionList,
|
||||
autocompleteList,
|
||||
currentMeal,
|
||||
portionController,
|
||||
wakeupController,
|
||||
retireController,
|
||||
mealTimeController,
|
||||
commentController,
|
||||
productNameController,
|
||||
product_nameController,
|
||||
productQuantityController,
|
||||
caloriesController,
|
||||
fatsController,
|
||||
@@ -1178,20 +1178,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -1212,20 +1212,20 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
||||
return loaded(
|
||||
diary,
|
||||
diaryDate,
|
||||
autocompleteList,
|
||||
recommendedChartValues,
|
||||
consumedChartValues,
|
||||
portions,
|
||||
photos,
|
||||
mealList,
|
||||
portionList,
|
||||
autocompleteList,
|
||||
currentMeal,
|
||||
portionController,
|
||||
wakeupController,
|
||||
retireController,
|
||||
mealTimeController,
|
||||
commentController,
|
||||
productNameController,
|
||||
product_nameController,
|
||||
productQuantityController,
|
||||
caloriesController,
|
||||
fatsController,
|
||||
@@ -1284,20 +1284,20 @@ abstract class DiaryStateLoaded implements DiaryState {
|
||||
const factory DiaryStateLoaded(
|
||||
{required final DiaryModel diary,
|
||||
final String? diaryDate,
|
||||
required final List<dynamic> autocompleteList,
|
||||
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,
|
||||
required final Meal currentMeal,
|
||||
required final SelectionPopupModel portionController,
|
||||
final TimeOfDay? wakeupController,
|
||||
final TimeOfDay? retireController,
|
||||
final TimeOfDay? mealTimeController,
|
||||
required final TextEditingController commentController,
|
||||
required final TextEditingController productNameController,
|
||||
required final TextEditingController product_nameController,
|
||||
required final TextEditingController productQuantityController,
|
||||
required final TextEditingController caloriesController,
|
||||
required final TextEditingController fatsController,
|
||||
@@ -1313,20 +1313,20 @@ abstract class DiaryStateLoaded implements DiaryState {
|
||||
|
||||
DiaryModel get diary;
|
||||
String? get diaryDate;
|
||||
List<dynamic> get autocompleteList;
|
||||
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;
|
||||
Meal get currentMeal;
|
||||
SelectionPopupModel get portionController;
|
||||
TimeOfDay? get wakeupController;
|
||||
TimeOfDay? get retireController;
|
||||
TimeOfDay? get mealTimeController;
|
||||
TextEditingController get commentController;
|
||||
TextEditingController get productNameController;
|
||||
TextEditingController get product_nameController;
|
||||
TextEditingController get productQuantityController;
|
||||
TextEditingController get caloriesController;
|
||||
TextEditingController get fatsController;
|
||||
@@ -1415,20 +1415,20 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
required TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -1455,20 +1455,20 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
TResult? Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
@@ -1495,20 +1495,20 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
||||
TResult Function(
|
||||
DiaryModel diary,
|
||||
String? diaryDate,
|
||||
List<dynamic> autocompleteList,
|
||||
List<int> recommendedChartValues,
|
||||
List<int> consumedChartValues,
|
||||
List<Portion> portions,
|
||||
List<Photo> photos,
|
||||
List<SelectionPopupModel> mealList,
|
||||
List<SelectionPopupModel> portionList,
|
||||
List<Product> autocompleteList,
|
||||
Meal currentMeal,
|
||||
SelectionPopupModel portionController,
|
||||
TimeOfDay? wakeupController,
|
||||
TimeOfDay? retireController,
|
||||
TimeOfDay? mealTimeController,
|
||||
TextEditingController commentController,
|
||||
TextEditingController productNameController,
|
||||
TextEditingController product_nameController,
|
||||
TextEditingController productQuantityController,
|
||||
TextEditingController caloriesController,
|
||||
TextEditingController fatsController,
|
||||
|
||||
Reference in New Issue
Block a user