diff --git a/lib/model/diary/diary_check_model.freezed.dart b/lib/model/diary/diary_check_model.freezed.dart index 274e0c5a..3951ae4c 100644 --- a/lib/model/diary/diary_check_model.freezed.dart +++ b/lib/model/diary/diary_check_model.freezed.dart @@ -22,8 +22,12 @@ DiaryCheckModel _$DiaryCheckModelFromJson(Map json) { mixin _$DiaryCheckModel { bool get state => throw _privateConstructorUsedError; + /// Serializes this DiaryCheckModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of DiaryCheckModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $DiaryCheckModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -47,6 +51,8 @@ class _$DiaryCheckModelCopyWithImpl<$Res, $Val extends DiaryCheckModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of DiaryCheckModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -80,6 +86,8 @@ class __$$DiaryCheckModelImplCopyWithImpl<$Res> _$DiaryCheckModelImpl _value, $Res Function(_$DiaryCheckModelImpl) _then) : super(_value, _then); + /// Create a copy of DiaryCheckModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -118,11 +126,13 @@ class _$DiaryCheckModelImpl implements _DiaryCheckModel { (identical(other.state, state) || other.state == state)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, state); - @JsonKey(ignore: true) + /// Create a copy of DiaryCheckModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$DiaryCheckModelImplCopyWith<_$DiaryCheckModelImpl> get copyWith => @@ -146,8 +156,11 @@ abstract class _DiaryCheckModel implements DiaryCheckModel { @override bool get state; + + /// Create a copy of DiaryCheckModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$DiaryCheckModelImplCopyWith<_$DiaryCheckModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/diary/diary_comment_model.freezed.dart b/lib/model/diary/diary_comment_model.freezed.dart index ab49a708..05bb7069 100644 --- a/lib/model/diary/diary_comment_model.freezed.dart +++ b/lib/model/diary/diary_comment_model.freezed.dart @@ -26,8 +26,12 @@ mixin _$DiaryDataModel { int get commentCount => throw _privateConstructorUsedError; bool get myLike => throw _privateConstructorUsedError; + /// Serializes this DiaryDataModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of DiaryDataModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $DiaryDataModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -55,6 +59,8 @@ class _$DiaryDataModelCopyWithImpl<$Res, $Val extends DiaryDataModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of DiaryDataModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -107,6 +113,8 @@ class __$$DiaryDataModelImplCopyWithImpl<$Res> _$DiaryDataModelImpl _value, $Res Function(_$DiaryDataModelImpl) _then) : super(_value, _then); + /// Create a copy of DiaryDataModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -184,7 +192,7 @@ class _$DiaryDataModelImpl implements _DiaryDataModel { (identical(other.myLike, myLike) || other.myLike == myLike)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -193,7 +201,9 @@ class _$DiaryDataModelImpl implements _DiaryDataModel { commentCount, myLike); - @JsonKey(ignore: true) + /// Create a copy of DiaryDataModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$DiaryDataModelImplCopyWith<_$DiaryDataModelImpl> get copyWith => @@ -226,8 +236,11 @@ abstract class _DiaryDataModel implements DiaryDataModel { int get commentCount; @override bool get myLike; + + /// Create a copy of DiaryDataModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$DiaryDataModelImplCopyWith<_$DiaryDataModelImpl> get copyWith => throw _privateConstructorUsedError; } @@ -245,8 +258,12 @@ mixin _$DiaryCommentModel { String? get profileImage => throw _privateConstructorUsedError; int get commentId => throw _privateConstructorUsedError; + /// Serializes this DiaryCommentModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of DiaryCommentModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $DiaryCommentModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -276,6 +293,8 @@ class _$DiaryCommentModelCopyWithImpl<$Res, $Val extends DiaryCommentModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of DiaryCommentModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -340,6 +359,8 @@ class __$$DiaryCommentModelImplCopyWithImpl<$Res> $Res Function(_$DiaryCommentModelImpl) _then) : super(_value, _then); + /// Create a copy of DiaryCommentModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -428,12 +449,14 @@ class _$DiaryCommentModelImpl implements _DiaryCommentModel { other.commentId == commentId)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, myComment, content, date, nickname, profileImage, commentId); - @JsonKey(ignore: true) + /// Create a copy of DiaryCommentModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$DiaryCommentModelImplCopyWith<_$DiaryCommentModelImpl> get copyWith => @@ -472,8 +495,11 @@ abstract class _DiaryCommentModel implements DiaryCommentModel { String? get profileImage; @override int get commentId; + + /// Create a copy of DiaryCommentModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$DiaryCommentModelImplCopyWith<_$DiaryCommentModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/diary/farmclub_open_diary_model.freezed.dart b/lib/model/diary/farmclub_open_diary_model.freezed.dart index f8bd8979..24fed274 100644 --- a/lib/model/diary/farmclub_open_diary_model.freezed.dart +++ b/lib/model/diary/farmclub_open_diary_model.freezed.dart @@ -33,8 +33,12 @@ mixin _$FarmclubOpenDiaryModel { bool get myDiary => throw _privateConstructorUsedError; String get state => throw _privateConstructorUsedError; + /// Serializes this FarmclubOpenDiaryModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubOpenDiaryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubOpenDiaryModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -70,6 +74,8 @@ class _$FarmclubOpenDiaryModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubOpenDiaryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -167,6 +173,8 @@ class __$$FarmclubOpenDiaryModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubOpenDiaryModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubOpenDiaryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -303,7 +311,7 @@ class _$FarmclubOpenDiaryModelImpl implements _FarmclubOpenDiaryModel { (identical(other.state, state) || other.state == state)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -319,7 +327,9 @@ class _$FarmclubOpenDiaryModelImpl implements _FarmclubOpenDiaryModel { myDiary, state); - @JsonKey(ignore: true) + /// Create a copy of FarmclubOpenDiaryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubOpenDiaryModelImplCopyWith<_$FarmclubOpenDiaryModelImpl> @@ -373,8 +383,11 @@ abstract class _FarmclubOpenDiaryModel implements FarmclubOpenDiaryModel { bool get myDiary; @override String get state; + + /// Create a copy of FarmclubOpenDiaryModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubOpenDiaryModelImplCopyWith<_$FarmclubOpenDiaryModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/diary/my_veggie_diary.freezed.dart b/lib/model/diary/my_veggie_diary.freezed.dart index 86529125..969d482a 100644 --- a/lib/model/diary/my_veggie_diary.freezed.dart +++ b/lib/model/diary/my_veggie_diary.freezed.dart @@ -30,8 +30,12 @@ mixin _$MyVeggieDiary { int get commentCount => throw _privateConstructorUsedError; bool get myLike => throw _privateConstructorUsedError; + /// Serializes this MyVeggieDiary to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyVeggieDiary + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyVeggieDiaryCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -64,6 +68,8 @@ class _$MyVeggieDiaryCopyWithImpl<$Res, $Val extends MyVeggieDiary> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyVeggieDiary + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -146,6 +152,8 @@ class __$$MyVeggieDiaryImplCopyWithImpl<$Res> _$MyVeggieDiaryImpl _value, $Res Function(_$MyVeggieDiaryImpl) _then) : super(_value, _then); + /// Create a copy of MyVeggieDiary + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -259,12 +267,14 @@ class _$MyVeggieDiaryImpl implements _MyVeggieDiary { (identical(other.myLike, myLike) || other.myLike == myLike)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, date, image, content, state, isOpen, diaryId, likeCount, commentCount, myLike); - @JsonKey(ignore: true) + /// Create a copy of MyVeggieDiary + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyVeggieDiaryImplCopyWith<_$MyVeggieDiaryImpl> get copyWith => @@ -311,8 +321,11 @@ abstract class _MyVeggieDiary implements MyVeggieDiary { int get commentCount; @override bool get myLike; + + /// Create a copy of MyVeggieDiary + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyVeggieDiaryImplCopyWith<_$MyVeggieDiaryImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/farmclub_open/farmclub_my_vege_model.freezed.dart b/lib/model/farmclub_open/farmclub_my_vege_model.freezed.dart index cb9ab9de..232cce6c 100644 --- a/lib/model/farmclub_open/farmclub_my_vege_model.freezed.dart +++ b/lib/model/farmclub_open/farmclub_my_vege_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$FarmclubMyVegeModel { String get veggieInfoId => throw _privateConstructorUsedError; String get nickname => throw _privateConstructorUsedError; + /// Serializes this FarmclubMyVegeModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubMyVegeModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubMyVegeModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -49,6 +53,8 @@ class _$FarmclubMyVegeModelCopyWithImpl<$Res, $Val extends FarmclubMyVegeModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubMyVegeModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -92,6 +98,8 @@ class __$$FarmclubMyVegeModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubMyVegeModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubMyVegeModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -152,12 +160,14 @@ class _$FarmclubMyVegeModelImpl implements _FarmclubMyVegeModel { other.nickname == nickname)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, myVeggieId, veggieInfoId, nickname); - @JsonKey(ignore: true) + /// Create a copy of FarmclubMyVegeModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubMyVegeModelImplCopyWith<_$FarmclubMyVegeModelImpl> get copyWith => @@ -187,8 +197,11 @@ abstract class _FarmclubMyVegeModel implements FarmclubMyVegeModel { String get veggieInfoId; @override String get nickname; + + /// Create a copy of FarmclubMyVegeModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubMyVegeModelImplCopyWith<_$FarmclubMyVegeModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/farmclub_open/farmclub_possible_model.freezed.dart b/lib/model/farmclub_open/farmclub_possible_model.freezed.dart index 8432e645..dada0b50 100644 --- a/lib/model/farmclub_open/farmclub_possible_model.freezed.dart +++ b/lib/model/farmclub_open/farmclub_possible_model.freezed.dart @@ -23,8 +23,12 @@ FarmclubPossibleModel _$FarmclubPossibleModelFromJson( mixin _$FarmclubPossibleModel { int get reason => throw _privateConstructorUsedError; + /// Serializes this FarmclubPossibleModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubPossibleModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubPossibleModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -49,6 +53,8 @@ class _$FarmclubPossibleModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubPossibleModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -84,6 +90,8 @@ class __$$FarmclubPossibleModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubPossibleModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubPossibleModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -122,11 +130,13 @@ class _$FarmclubPossibleModelImpl implements _FarmclubPossibleModel { (identical(other.reason, reason) || other.reason == reason)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, reason); - @JsonKey(ignore: true) + /// Create a copy of FarmclubPossibleModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubPossibleModelImplCopyWith<_$FarmclubPossibleModelImpl> @@ -150,8 +160,11 @@ abstract class _FarmclubPossibleModel implements FarmclubPossibleModel { @override int get reason; + + /// Create a copy of FarmclubPossibleModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubPossibleModelImplCopyWith<_$FarmclubPossibleModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/farmclub_open/farmclub_vege_list_model.freezed.dart b/lib/model/farmclub_open/farmclub_vege_list_model.freezed.dart index aaa21547..a6f55a35 100644 --- a/lib/model/farmclub_open/farmclub_vege_list_model.freezed.dart +++ b/lib/model/farmclub_open/farmclub_vege_list_model.freezed.dart @@ -30,8 +30,12 @@ mixin _$FarmclubVegeListModel { bool? get isFarmclubOpenInfoComplete => throw _privateConstructorUsedError; int? get selectedVege => throw _privateConstructorUsedError; + /// Serializes this FarmclubVegeListModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubVegeListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubVegeListModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -64,6 +68,8 @@ class _$FarmclubVegeListModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubVegeListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -142,6 +148,8 @@ class __$$FarmclubVegeListModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubVegeListModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubVegeListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -254,7 +262,7 @@ class _$FarmclubVegeListModelImpl implements _FarmclubVegeListModel { other.selectedVege == selectedVege)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -267,7 +275,9 @@ class _$FarmclubVegeListModelImpl implements _FarmclubVegeListModel { isFarmclubOpenInfoComplete, selectedVege); - @JsonKey(ignore: true) + /// Create a copy of FarmclubVegeListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubVegeListModelImplCopyWith<_$FarmclubVegeListModelImpl> @@ -312,8 +322,11 @@ abstract class _FarmclubVegeListModel implements FarmclubVegeListModel { bool? get isFarmclubOpenInfoComplete; @override int? get selectedVege; + + /// Create a copy of FarmclubVegeListModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubVegeListModelImplCopyWith<_$FarmclubVegeListModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/farmclub_sign_up/farmclub_sign_up_model.freezed.dart b/lib/model/farmclub_sign_up/farmclub_sign_up_model.freezed.dart index 82bc0a91..b6239fd3 100644 --- a/lib/model/farmclub_sign_up/farmclub_sign_up_model.freezed.dart +++ b/lib/model/farmclub_sign_up/farmclub_sign_up_model.freezed.dart @@ -23,8 +23,12 @@ mixin _$FarmclubSignupModel { int get myVeggieId => throw _privateConstructorUsedError; String get nickname => throw _privateConstructorUsedError; + /// Serializes this FarmclubSignupModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubSignupModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubSignupModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -48,6 +52,8 @@ class _$FarmclubSignupModelCopyWithImpl<$Res, $Val extends FarmclubSignupModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubSignupModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -86,6 +92,8 @@ class __$$FarmclubSignupModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubSignupModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubSignupModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -134,11 +142,13 @@ class _$FarmclubSignupModelImpl implements _FarmclubSignupModel { other.nickname == nickname)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, myVeggieId, nickname); - @JsonKey(ignore: true) + /// Create a copy of FarmclubSignupModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubSignupModelImplCopyWith<_$FarmclubSignupModelImpl> get copyWith => @@ -165,8 +175,11 @@ abstract class _FarmclubSignupModel implements FarmclubSignupModel { int get myVeggieId; @override String get nickname; + + /// Create a copy of FarmclubSignupModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubSignupModelImplCopyWith<_$FarmclubSignupModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/home/motivation_message_model.freezed.dart b/lib/model/home/motivation_message_model.freezed.dart index 126af2c8..871f5bc1 100644 --- a/lib/model/home/motivation_message_model.freezed.dart +++ b/lib/model/home/motivation_message_model.freezed.dart @@ -23,8 +23,12 @@ MotivationMessageModel _$MotivationMessageModelFromJson( mixin _$MotivationMessageModel { String get encouragementMessage => throw _privateConstructorUsedError; + /// Serializes this MotivationMessageModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MotivationMessageModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MotivationMessageModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -49,6 +53,8 @@ class _$MotivationMessageModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MotivationMessageModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -85,6 +91,8 @@ class __$$MotivationMessageModelImplCopyWithImpl<$Res> $Res Function(_$MotivationMessageModelImpl) _then) : super(_value, _then); + /// Create a copy of MotivationMessageModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -124,11 +132,13 @@ class _$MotivationMessageModelImpl implements _MotivationMessageModel { other.encouragementMessage == encouragementMessage)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, encouragementMessage); - @JsonKey(ignore: true) + /// Create a copy of MotivationMessageModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MotivationMessageModelImplCopyWith<_$MotivationMessageModelImpl> @@ -153,8 +163,11 @@ abstract class _MotivationMessageModel implements MotivationMessageModel { @override String get encouragementMessage; + + /// Create a copy of MotivationMessageModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MotivationMessageModelImplCopyWith<_$MotivationMessageModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/home/my_veggie_list_model.freezed.dart b/lib/model/home/my_veggie_list_model.freezed.dart index f9ca28a7..4e9f489a 100644 --- a/lib/model/home/my_veggie_list_model.freezed.dart +++ b/lib/model/home/my_veggie_list_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$MyVeggieListModel { String get nickname => throw _privateConstructorUsedError; int get farmClubId => throw _privateConstructorUsedError; + /// Serializes this MyVeggieListModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyVeggieListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyVeggieListModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -49,6 +53,8 @@ class _$MyVeggieListModelCopyWithImpl<$Res, $Val extends MyVeggieListModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyVeggieListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -92,6 +98,8 @@ class __$$MyVeggieListModelImplCopyWithImpl<$Res> $Res Function(_$MyVeggieListModelImpl) _then) : super(_value, _then); + /// Create a copy of MyVeggieListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -152,12 +160,14 @@ class _$MyVeggieListModelImpl implements _MyVeggieListModel { other.farmClubId == farmClubId)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, myVeggieId, nickname, farmClubId); - @JsonKey(ignore: true) + /// Create a copy of MyVeggieListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyVeggieListModelImplCopyWith<_$MyVeggieListModelImpl> get copyWith => @@ -187,8 +197,11 @@ abstract class _MyVeggieListModel implements MyVeggieListModel { String get nickname; @override int get farmClubId; + + /// Create a copy of MyVeggieListModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyVeggieListModelImplCopyWith<_$MyVeggieListModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/home/my_veggie_profile.freezed.dart b/lib/model/home/my_veggie_profile.freezed.dart index c96712ed..f1531faf 100644 --- a/lib/model/home/my_veggie_profile.freezed.dart +++ b/lib/model/home/my_veggie_profile.freezed.dart @@ -28,8 +28,12 @@ mixin _$MyVeggieProfile { int get step => throw _privateConstructorUsedError; int get stepCount => throw _privateConstructorUsedError; + /// Serializes this MyVeggieProfile to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyVeggieProfile + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyVeggieProfileCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -60,6 +64,8 @@ class _$MyVeggieProfileCopyWithImpl<$Res, $Val extends MyVeggieProfile> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyVeggieProfile + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -130,6 +136,8 @@ class __$$MyVeggieProfileImplCopyWithImpl<$Res> _$MyVeggieProfileImpl _value, $Res Function(_$MyVeggieProfileImpl) _then) : super(_value, _then); + /// Create a copy of MyVeggieProfile + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -228,12 +236,14 @@ class _$MyVeggieProfileImpl implements _MyVeggieProfile { other.stepCount == stepCount)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, nickname, veggieName, veggieImage, createdVeggie, period, step, stepCount); - @JsonKey(ignore: true) + /// Create a copy of MyVeggieProfile + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyVeggieProfileImplCopyWith<_$MyVeggieProfileImpl> get copyWith => @@ -275,8 +285,11 @@ abstract class _MyVeggieProfile implements MyVeggieProfile { int get step; @override int get stepCount; + + /// Create a copy of MyVeggieProfile + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyVeggieProfileImplCopyWith<_$MyVeggieProfileImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/home/veggie_diary_one_model.freezed.dart b/lib/model/home/veggie_diary_one_model.freezed.dart index 40f8565d..052bfda9 100644 --- a/lib/model/home/veggie_diary_one_model.freezed.dart +++ b/lib/model/home/veggie_diary_one_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$VeggieDiaryOneModel { String? get content => throw _privateConstructorUsedError; String? get date => throw _privateConstructorUsedError; + /// Serializes this VeggieDiaryOneModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of VeggieDiaryOneModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $VeggieDiaryOneModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -49,6 +53,8 @@ class _$VeggieDiaryOneModelCopyWithImpl<$Res, $Val extends VeggieDiaryOneModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of VeggieDiaryOneModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -92,6 +98,8 @@ class __$$VeggieDiaryModelImplCopyWithImpl<$Res> $Res Function(_$VeggieDiaryModelImpl) _then) : super(_value, _then); + /// Create a copy of VeggieDiaryOneModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -146,11 +154,13 @@ class _$VeggieDiaryModelImpl implements _VeggieDiaryModel { (identical(other.date, date) || other.date == date)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, image, content, date); - @JsonKey(ignore: true) + /// Create a copy of VeggieDiaryOneModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$VeggieDiaryModelImplCopyWith<_$VeggieDiaryModelImpl> get copyWith => @@ -180,8 +190,11 @@ abstract class _VeggieDiaryModel implements VeggieDiaryOneModel { String? get content; @override String? get date; + + /// Create a copy of VeggieDiaryOneModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$VeggieDiaryModelImplCopyWith<_$VeggieDiaryModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/mission/mission_post_report_model.freezed.dart b/lib/model/mission/mission_post_report_model.freezed.dart index 82931a3f..e87db278 100644 --- a/lib/model/mission/mission_post_report_model.freezed.dart +++ b/lib/model/mission/mission_post_report_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$MissionPostReportModel { int get missionPostId => throw _privateConstructorUsedError; String get reason => throw _privateConstructorUsedError; + /// Serializes this MissionPostReportModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MissionPostReportModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MissionPostReportModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -50,6 +54,8 @@ class _$MissionPostReportModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MissionPostReportModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -91,6 +97,8 @@ class __$$MissionPostReportModelImplCopyWithImpl<$Res> $Res Function(_$MissionPostReportModelImpl) _then) : super(_value, _then); + /// Create a copy of MissionPostReportModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -139,11 +147,13 @@ class _$MissionPostReportModelImpl implements _MissionPostReportModel { (identical(other.reason, reason) || other.reason == reason)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, missionPostId, reason); - @JsonKey(ignore: true) + /// Create a copy of MissionPostReportModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MissionPostReportModelImplCopyWith<_$MissionPostReportModelImpl> @@ -170,8 +180,11 @@ abstract class _MissionPostReportModel implements MissionPostReportModel { int get missionPostId; @override String get reason; + + /// Create a copy of MissionPostReportModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MissionPostReportModelImplCopyWith<_$MissionPostReportModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/mission/mission_user_list_model.freezed.dart b/lib/model/mission/mission_user_list_model.freezed.dart index 669b53f5..94a517f6 100644 --- a/lib/model/mission/mission_user_list_model.freezed.dart +++ b/lib/model/mission/mission_user_list_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$MissionUserListModel { String get nickname => throw _privateConstructorUsedError; String get profileImage => throw _privateConstructorUsedError; + /// Serializes this MissionUserListModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MissionUserListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MissionUserListModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -50,6 +54,8 @@ class _$MissionUserListModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MissionUserListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -93,6 +99,8 @@ class __$$MissionUserListModelImplCopyWithImpl<$Res> $Res Function(_$MissionUserListModelImpl) _then) : super(_value, _then); + /// Create a copy of MissionUserListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -152,11 +160,13 @@ class _$MissionUserListModelImpl implements _MissionUserListModel { other.profileImage == profileImage)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, userId, nickname, profileImage); - @JsonKey(ignore: true) + /// Create a copy of MissionUserListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MissionUserListModelImplCopyWith<_$MissionUserListModelImpl> @@ -187,8 +197,11 @@ abstract class _MissionUserListModel implements MissionUserListModel { String get nickname; @override String get profileImage; + + /// Create a copy of MissionUserListModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MissionUserListModelImplCopyWith<_$MissionUserListModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub/farmclub_help_model.freezed.dart b/lib/model/my_farmclub/farmclub_help_model.freezed.dart index b210bd9c..e29c1602 100644 --- a/lib/model/my_farmclub/farmclub_help_model.freezed.dart +++ b/lib/model/my_farmclub/farmclub_help_model.freezed.dart @@ -26,8 +26,12 @@ mixin _$FarmclubHelpModel { FarmclubHelpInfoModel get help => throw _privateConstructorUsedError; List get steps => throw _privateConstructorUsedError; + /// Serializes this FarmclubHelpModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubHelpModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubHelpModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -58,6 +62,8 @@ class _$FarmclubHelpModelCopyWithImpl<$Res, $Val extends FarmclubHelpModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubHelpModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -91,6 +97,8 @@ class _$FarmclubHelpModelCopyWithImpl<$Res, $Val extends FarmclubHelpModel> ) as $Val); } + /// Create a copy of FarmclubHelpModel + /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $FarmclubHelpInfoModelCopyWith<$Res> get help { @@ -127,6 +135,8 @@ class __$$FarmclubHelpModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubHelpModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubHelpModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -211,12 +221,14 @@ class _$FarmclubHelpModelImpl implements _FarmclubHelpModel { const DeepCollectionEquality().equals(other._steps, _steps)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, veggieName, veggieImage, backgroundColor, help, const DeepCollectionEquality().hash(_steps)); - @JsonKey(ignore: true) + /// Create a copy of FarmclubHelpModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubHelpModelImplCopyWith<_$FarmclubHelpModelImpl> get copyWith => @@ -252,8 +264,11 @@ abstract class _FarmclubHelpModel implements FarmclubHelpModel { FarmclubHelpInfoModel get help; @override List get steps; + + /// Create a copy of FarmclubHelpModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubHelpModelImplCopyWith<_$FarmclubHelpModelImpl> get copyWith => throw _privateConstructorUsedError; } @@ -268,8 +283,12 @@ mixin _$HelpStep { String get content => throw _privateConstructorUsedError; List get tips => throw _privateConstructorUsedError; + /// Serializes this HelpStep to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of HelpStep + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $HelpStepCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -292,6 +311,8 @@ class _$HelpStepCopyWithImpl<$Res, $Val extends HelpStep> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of HelpStep + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -335,6 +356,8 @@ class __$$HelpStepImplCopyWithImpl<$Res> _$HelpStepImpl _value, $Res Function(_$HelpStepImpl) _then) : super(_value, _then); + /// Create a copy of HelpStep + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -398,12 +421,14 @@ class _$HelpStepImpl implements _HelpStep { const DeepCollectionEquality().equals(other._tips, _tips)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, num, content, const DeepCollectionEquality().hash(_tips)); - @JsonKey(ignore: true) + /// Create a copy of HelpStep + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$HelpStepImplCopyWith<_$HelpStepImpl> get copyWith => @@ -432,8 +457,11 @@ abstract class _HelpStep implements HelpStep { String get content; @override List get tips; + + /// Create a copy of HelpStep + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$HelpStepImplCopyWith<_$HelpStepImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub/farmclub_success_model.freezed.dart b/lib/model/my_farmclub/farmclub_success_model.freezed.dart index 30fce34f..003f5759 100644 --- a/lib/model/my_farmclub/farmclub_success_model.freezed.dart +++ b/lib/model/my_farmclub/farmclub_success_model.freezed.dart @@ -27,8 +27,12 @@ mixin _$FarmclubSuccessModel { int get diaryCount => throw _privateConstructorUsedError; int get missionPostCount => throw _privateConstructorUsedError; + /// Serializes this FarmclubSuccessModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubSuccessModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubSuccessModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -59,6 +63,8 @@ class _$FarmclubSuccessModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubSuccessModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -123,6 +129,8 @@ class __$$FarmclubSuccessModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubSuccessModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubSuccessModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -211,12 +219,14 @@ class _$FarmclubSuccessModelImpl implements _FarmclubSuccessModel { other.missionPostCount == missionPostCount)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, farmClubName, veggieImage, date, period, diaryCount, missionPostCount); - @JsonKey(ignore: true) + /// Create a copy of FarmclubSuccessModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubSuccessModelImplCopyWith<_$FarmclubSuccessModelImpl> @@ -256,8 +266,11 @@ abstract class _FarmclubSuccessModel implements FarmclubSuccessModel { int get diaryCount; @override int get missionPostCount; + + /// Create a copy of FarmclubSuccessModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubSuccessModelImplCopyWith<_$FarmclubSuccessModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub/mission_data_model.freezed.dart b/lib/model/my_farmclub/mission_data_model.freezed.dart index c892e01b..7b158972 100644 --- a/lib/model/my_farmclub/mission_data_model.freezed.dart +++ b/lib/model/my_farmclub/mission_data_model.freezed.dart @@ -23,8 +23,12 @@ mixin _$MissionDataModel { bool get isMyPost => throw _privateConstructorUsedError; List get comments => throw _privateConstructorUsedError; + /// Serializes this MissionDataModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MissionDataModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MissionDataModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -48,6 +52,8 @@ class _$MissionDataModelCopyWithImpl<$Res, $Val extends MissionDataModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MissionDataModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -86,6 +92,8 @@ class __$$MissionDataModelImplCopyWithImpl<$Res> $Res Function(_$MissionDataModelImpl) _then) : super(_value, _then); + /// Create a copy of MissionDataModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -141,12 +149,14 @@ class _$MissionDataModelImpl implements _MissionDataModel { const DeepCollectionEquality().equals(other._comments, _comments)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, isMyPost, const DeepCollectionEquality().hash(_comments)); - @JsonKey(ignore: true) + /// Create a copy of MissionDataModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MissionDataModelImplCopyWith<_$MissionDataModelImpl> get copyWith => @@ -174,8 +184,11 @@ abstract class _MissionDataModel implements MissionDataModel { bool get isMyPost; @override List get comments; + + /// Create a copy of MissionDataModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MissionDataModelImplCopyWith<_$MissionDataModelImpl> get copyWith => throw _privateConstructorUsedError; } @@ -193,8 +206,12 @@ mixin _$MissionCommentModel { String get content => throw _privateConstructorUsedError; bool get isMyComment => throw _privateConstructorUsedError; + /// Serializes this MissionCommentModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MissionCommentModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MissionCommentModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -224,6 +241,8 @@ class _$MissionCommentModelCopyWithImpl<$Res, $Val extends MissionCommentModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MissionCommentModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -288,6 +307,8 @@ class __$$MissionCommentModelImplCopyWithImpl<$Res> $Res Function(_$MissionCommentModelImpl) _then) : super(_value, _then); + /// Create a copy of MissionCommentModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -376,12 +397,14 @@ class _$MissionCommentModelImpl implements _MissionCommentModel { other.isMyComment == isMyComment)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, missionPostCommentId, nickname, profileImage, date, content, isMyComment); - @JsonKey(ignore: true) + /// Create a copy of MissionCommentModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MissionCommentModelImplCopyWith<_$MissionCommentModelImpl> get copyWith => @@ -420,8 +443,11 @@ abstract class _MissionCommentModel implements MissionCommentModel { String get content; @override bool get isMyComment; + + /// Create a copy of MissionCommentModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MissionCommentModelImplCopyWith<_$MissionCommentModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub/mission_feed.freezed.dart b/lib/model/my_farmclub/mission_feed.freezed.dart index 1e2a3e8b..2552b86d 100644 --- a/lib/model/my_farmclub/mission_feed.freezed.dart +++ b/lib/model/my_farmclub/mission_feed.freezed.dart @@ -32,8 +32,12 @@ mixin _$MissionFeed { int get commentCount => throw _privateConstructorUsedError; bool get isLiked => throw _privateConstructorUsedError; + /// Serializes this MissionFeed to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MissionFeed + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MissionFeedCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -68,6 +72,8 @@ class _$MissionFeedCopyWithImpl<$Res, $Val extends MissionFeed> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MissionFeed + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -162,6 +168,8 @@ class __$$MissionFeedImplCopyWithImpl<$Res> _$MissionFeedImpl _value, $Res Function(_$MissionFeedImpl) _then) : super(_value, _then); + /// Create a copy of MissionFeed + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -296,7 +304,7 @@ class _$MissionFeedImpl implements _MissionFeed { (identical(other.isLiked, isLiked) || other.isLiked == isLiked)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -312,7 +320,9 @@ class _$MissionFeedImpl implements _MissionFeed { commentCount, isLiked); - @JsonKey(ignore: true) + /// Create a copy of MissionFeed + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MissionFeedImplCopyWith<_$MissionFeedImpl> get copyWith => @@ -365,8 +375,11 @@ abstract class _MissionFeed implements MissionFeed { int get commentCount; @override bool get isLiked; + + /// Create a copy of MissionFeed + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MissionFeedImplCopyWith<_$MissionFeedImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub/my_farmclub_info_model.freezed.dart b/lib/model/my_farmclub/my_farmclub_info_model.freezed.dart index 4cd4193a..e70177cc 100644 --- a/lib/model/my_farmclub/my_farmclub_info_model.freezed.dart +++ b/lib/model/my_farmclub/my_farmclub_info_model.freezed.dart @@ -29,8 +29,12 @@ mixin _$MyFarmclubInfoModel { String get advice => throw _privateConstructorUsedError; int get daysSinceStart => throw _privateConstructorUsedError; + /// Serializes this MyFarmclubInfoModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyFarmclubInfoModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -62,6 +66,8 @@ class _$MyFarmclubInfoModelCopyWithImpl<$Res, $Val extends MyFarmclubInfoModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -138,6 +144,8 @@ class __$$MyFarmclubInfoModelImplCopyWithImpl<$Res> $Res Function(_$MyFarmclubInfoModelImpl) _then) : super(_value, _then); + /// Create a copy of MyFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -253,7 +261,7 @@ class _$MyFarmclubInfoModelImpl implements _MyFarmclubInfoModel { other.daysSinceStart == daysSinceStart)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -266,7 +274,9 @@ class _$MyFarmclubInfoModelImpl implements _MyFarmclubInfoModel { advice, daysSinceStart); - @JsonKey(ignore: true) + /// Create a copy of MyFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyFarmclubInfoModelImplCopyWith<_$MyFarmclubInfoModelImpl> get copyWith => @@ -311,8 +321,11 @@ abstract class _MyFarmclubInfoModel implements MyFarmclubInfoModel { String get advice; @override int get daysSinceStart; + + /// Create a copy of MyFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyFarmclubInfoModelImplCopyWith<_$MyFarmclubInfoModelImpl> get copyWith => throw _privateConstructorUsedError; } @@ -328,8 +341,12 @@ mixin _$StepModel { String get stepName => throw _privateConstructorUsedError; int get completeMemberCount => throw _privateConstructorUsedError; + /// Serializes this StepModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of StepModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $StepModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -356,6 +373,8 @@ class _$StepModelCopyWithImpl<$Res, $Val extends StepModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of StepModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -408,6 +427,8 @@ class __$$StepModelImplCopyWithImpl<$Res> _$StepModelImpl _value, $Res Function(_$StepModelImpl) _then) : super(_value, _then); + /// Create a copy of StepModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -483,7 +504,7 @@ class _$StepModelImpl implements _StepModel { other.completeMemberCount == completeMemberCount)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -492,7 +513,9 @@ class _$StepModelImpl implements _StepModel { stepName, completeMemberCount); - @JsonKey(ignore: true) + /// Create a copy of StepModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$StepModelImplCopyWith<_$StepModelImpl> get copyWith => @@ -524,8 +547,11 @@ abstract class _StepModel implements StepModel { String get stepName; @override int get completeMemberCount; + + /// Create a copy of StepModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$StepModelImplCopyWith<_$StepModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub/my_farmclub_model.freezed.dart b/lib/model/my_farmclub/my_farmclub_model.freezed.dart index 7a1e77bf..cf7107a8 100644 --- a/lib/model/my_farmclub/my_farmclub_model.freezed.dart +++ b/lib/model/my_farmclub/my_farmclub_model.freezed.dart @@ -25,8 +25,12 @@ mixin _$MyFarmclubModel { String get farmClubName => throw _privateConstructorUsedError; String get veggieName => throw _privateConstructorUsedError; + /// Serializes this MyFarmclubModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyFarmclubModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyFarmclubModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -54,6 +58,8 @@ class _$MyFarmclubModelCopyWithImpl<$Res, $Val extends MyFarmclubModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyFarmclubModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -106,6 +112,8 @@ class __$$MyFarmclubModelImplCopyWithImpl<$Res> _$MyFarmclubModelImpl _value, $Res Function(_$MyFarmclubModelImpl) _then) : super(_value, _then); + /// Create a copy of MyFarmclubModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -176,12 +184,14 @@ class _$MyFarmclubModelImpl implements _MyFarmclubModel { other.veggieName == veggieName)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, farmClubId, farmClubImage, farmClubName, veggieName); - @JsonKey(ignore: true) + /// Create a copy of MyFarmclubModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyFarmclubModelImplCopyWith<_$MyFarmclubModelImpl> get copyWith => @@ -214,8 +224,11 @@ abstract class _MyFarmclubModel implements MyFarmclubModel { String get farmClubName; @override String get veggieName; + + /// Create a copy of MyFarmclubModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyFarmclubModelImplCopyWith<_$MyFarmclubModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub_history/farmclub_history_icon_model.freezed.dart b/lib/model/my_farmclub_history/farmclub_history_icon_model.freezed.dart index dcff8918..f6cbf67a 100644 --- a/lib/model/my_farmclub_history/farmclub_history_icon_model.freezed.dart +++ b/lib/model/my_farmclub_history/farmclub_history_icon_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$FarmclubHistoryIconModel { String? get url => throw _privateConstructorUsedError; String? get backgroundColor => throw _privateConstructorUsedError; + /// Serializes this FarmclubHistoryIconModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubHistoryIconModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubHistoryIconModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -50,6 +54,8 @@ class _$FarmclubHistoryIconModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubHistoryIconModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -91,6 +97,8 @@ class __$$FarmclubHistoryIconModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubHistoryIconModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubHistoryIconModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -139,11 +147,13 @@ class _$FarmclubHistoryIconModelImpl implements _FarmclubHistoryIconModel { other.backgroundColor == backgroundColor)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, url, backgroundColor); - @JsonKey(ignore: true) + /// Create a copy of FarmclubHistoryIconModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubHistoryIconModelImplCopyWith<_$FarmclubHistoryIconModelImpl> @@ -170,8 +180,11 @@ abstract class _FarmclubHistoryIconModel implements FarmclubHistoryIconModel { String? get url; @override String? get backgroundColor; + + /// Create a copy of FarmclubHistoryIconModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubHistoryIconModelImplCopyWith<_$FarmclubHistoryIconModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub_history/my_farmclub_certification_model.freezed.dart b/lib/model/my_farmclub_history/my_farmclub_certification_model.freezed.dart index af5d1daa..80d2639c 100644 --- a/lib/model/my_farmclub_history/my_farmclub_certification_model.freezed.dart +++ b/lib/model/my_farmclub_history/my_farmclub_certification_model.freezed.dart @@ -23,8 +23,12 @@ MyFarmclubCertificationModel _$MyFarmclubCertificationModelFromJson( mixin _$MyFarmclubCertificationModel { List get missionPosts => throw _privateConstructorUsedError; + /// Serializes this MyFarmclubCertificationModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyFarmclubCertificationModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyFarmclubCertificationModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -51,6 +55,8 @@ class _$MyFarmclubCertificationModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyFarmclubCertificationModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -87,6 +93,8 @@ class __$$MyFarmclubCertificationModelImplCopyWithImpl<$Res> $Res Function(_$MyFarmclubCertificationModelImpl) _then) : super(_value, _then); + /// Create a copy of MyFarmclubCertificationModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -135,12 +143,14 @@ class _$MyFarmclubCertificationModelImpl .equals(other._missionPosts, _missionPosts)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, const DeepCollectionEquality().hash(_missionPosts)); - @JsonKey(ignore: true) + /// Create a copy of MyFarmclubCertificationModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyFarmclubCertificationModelImplCopyWith< @@ -167,8 +177,11 @@ abstract class _MyFarmclubCertificationModel @override List get missionPosts; + + /// Create a copy of MyFarmclubCertificationModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyFarmclubCertificationModelImplCopyWith< _$MyFarmclubCertificationModelImpl> get copyWith => throw _privateConstructorUsedError; @@ -186,8 +199,12 @@ mixin _$MissionPost { String get content => throw _privateConstructorUsedError; String get date => throw _privateConstructorUsedError; + /// Serializes this MissionPost to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MissionPost + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MissionPostCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -216,6 +233,8 @@ class _$MissionPostCopyWithImpl<$Res, $Val extends MissionPost> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MissionPost + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -274,6 +293,8 @@ class __$$MissionPostImplCopyWithImpl<$Res> _$MissionPostImpl _value, $Res Function(_$MissionPostImpl) _then) : super(_value, _then); + /// Create a copy of MissionPost + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -351,12 +372,14 @@ class _$MissionPostImpl implements _MissionPost { (identical(other.date, date) || other.date == date)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, stepNum, stepName, postImage, content, date); - @JsonKey(ignore: true) + /// Create a copy of MissionPost + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MissionPostImplCopyWith<_$MissionPostImpl> get copyWith => @@ -391,8 +414,11 @@ abstract class _MissionPost implements MissionPost { String get content; @override String get date; + + /// Create a copy of MissionPost + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MissionPostImplCopyWith<_$MissionPostImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub_history/my_farmclub_history_model.freezed.dart b/lib/model/my_farmclub_history/my_farmclub_history_model.freezed.dart index ecb281e7..e81f9e3b 100644 --- a/lib/model/my_farmclub_history/my_farmclub_history_model.freezed.dart +++ b/lib/model/my_farmclub_history/my_farmclub_history_model.freezed.dart @@ -28,8 +28,12 @@ mixin _$MyFarmclubHistoryModel { String get name => throw _privateConstructorUsedError; String get period => throw _privateConstructorUsedError; + /// Serializes this MyFarmclubHistoryModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyFarmclubHistoryModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -60,6 +64,8 @@ class _$MyFarmclubHistoryModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -127,6 +133,8 @@ class __$$MyFarmclubHistoryModelImplCopyWithImpl<$Res> $Res Function(_$MyFarmclubHistoryModelImpl) _then) : super(_value, _then); + /// Create a copy of MyFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -214,12 +222,14 @@ class _$MyFarmclubHistoryModelImpl implements _MyFarmclubHistoryModel { (identical(other.period, period) || other.period == period)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, detailId, image, backgroundColor, historyName, name, period); - @JsonKey(ignore: true) + /// Create a copy of MyFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyFarmclubHistoryModelImplCopyWith<_$MyFarmclubHistoryModelImpl> @@ -258,8 +268,11 @@ abstract class _MyFarmclubHistoryModel implements MyFarmclubHistoryModel { String get name; @override String get period; + + /// Create a copy of MyFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyFarmclubHistoryModelImplCopyWith<_$MyFarmclubHistoryModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_farmclub_history/user_farmclub_history_model.freezed.dart b/lib/model/my_farmclub_history/user_farmclub_history_model.freezed.dart index e073f362..28ad997f 100644 --- a/lib/model/my_farmclub_history/user_farmclub_history_model.freezed.dart +++ b/lib/model/my_farmclub_history/user_farmclub_history_model.freezed.dart @@ -25,8 +25,12 @@ mixin _$UserFarmclubHistoryModel { List get farmClubHistoryIcons => throw _privateConstructorUsedError; + /// Serializes this UserFarmclubHistoryModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of UserFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $UserFarmclubHistoryModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -53,6 +57,8 @@ class _$UserFarmclubHistoryModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of UserFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -96,6 +102,8 @@ class __$$UserFarmclubHistoryModelImplCopyWithImpl<$Res> $Res Function(_$UserFarmclubHistoryModelImpl) _then) : super(_value, _then); + /// Create a copy of UserFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -153,12 +161,14 @@ class _$UserFarmclubHistoryModelImpl implements _UserFarmclubHistoryModel { .equals(other._farmClubHistoryIcons, _farmClubHistoryIcons)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, farmClubHistoryCount, const DeepCollectionEquality().hash(_farmClubHistoryIcons)); - @JsonKey(ignore: true) + /// Create a copy of UserFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$UserFarmclubHistoryModelImplCopyWith<_$UserFarmclubHistoryModelImpl> @@ -186,8 +196,11 @@ abstract class _UserFarmclubHistoryModel implements UserFarmclubHistoryModel { int get farmClubHistoryCount; @override List get farmClubHistoryIcons; + + /// Create a copy of UserFarmclubHistoryModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$UserFarmclubHistoryModelImplCopyWith<_$UserFarmclubHistoryModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_page/my_page_info_model.freezed.dart b/lib/model/my_page/my_page_info_model.freezed.dart index abcc559b..95912cb8 100644 --- a/lib/model/my_page/my_page_info_model.freezed.dart +++ b/lib/model/my_page/my_page_info_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$MyPageInfoModel { String get userImageUrl => throw _privateConstructorUsedError; int get dday => throw _privateConstructorUsedError; + /// Serializes this MyPageInfoModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyPageInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyPageInfoModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -49,6 +53,8 @@ class _$MyPageInfoModelCopyWithImpl<$Res, $Val extends MyPageInfoModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyPageInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -92,6 +98,8 @@ class __$$MyPageInfoModelImplCopyWithImpl<$Res> _$MyPageInfoModelImpl _value, $Res Function(_$MyPageInfoModelImpl) _then) : super(_value, _then); + /// Create a copy of MyPageInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -149,11 +157,13 @@ class _$MyPageInfoModelImpl implements _MyPageInfoModel { (identical(other.dday, dday) || other.dday == dday)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, nickName, userImageUrl, dday); - @JsonKey(ignore: true) + /// Create a copy of MyPageInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyPageInfoModelImplCopyWith<_$MyPageInfoModelImpl> get copyWith => @@ -183,8 +193,11 @@ abstract class _MyPageInfoModel implements MyPageInfoModel { String get userImageUrl; @override int get dday; + + /// Create a copy of MyPageInfoModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyPageInfoModelImplCopyWith<_$MyPageInfoModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_page/my_page_nickename_model.freezed.dart b/lib/model/my_page/my_page_nickename_model.freezed.dart index 1bea92a0..cad4d165 100644 --- a/lib/model/my_page/my_page_nickename_model.freezed.dart +++ b/lib/model/my_page/my_page_nickename_model.freezed.dart @@ -22,8 +22,12 @@ MyPageNickenameModel _$MyPageNickenameModelFromJson(Map json) { mixin _$MyPageNickenameModel { String get nickname => throw _privateConstructorUsedError; + /// Serializes this MyPageNickenameModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyPageNickenameModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyPageNickenameModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -48,6 +52,8 @@ class _$MyPageNickenameModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyPageNickenameModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -81,6 +87,8 @@ class __$$MyPageNickenameModelImplCopyWithImpl<$Res> $Res Function(_$MyPageNickenameModelImpl) _then) : super(_value, _then); + /// Create a copy of MyPageNickenameModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -120,11 +128,13 @@ class _$MyPageNickenameModelImpl implements _MyPageNickenameModel { other.nickname == nickname)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, nickname); - @JsonKey(ignore: true) + /// Create a copy of MyPageNickenameModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyPageNickenameModelImplCopyWith<_$MyPageNickenameModelImpl> @@ -149,8 +159,11 @@ abstract class _MyPageNickenameModel implements MyPageNickenameModel { @override String get nickname; + + /// Create a copy of MyPageNickenameModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyPageNickenameModelImplCopyWith<_$MyPageNickenameModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_page/my_page_profile_model.freezed.dart b/lib/model/my_page/my_page_profile_model.freezed.dart index 6ac83f5d..5285729f 100644 --- a/lib/model/my_page/my_page_profile_model.freezed.dart +++ b/lib/model/my_page/my_page_profile_model.freezed.dart @@ -25,8 +25,12 @@ mixin _$MyPageProfileModel { File? get image => throw _privateConstructorUsedError; bool get isInfoChangeComplete => throw _privateConstructorUsedError; + /// Serializes this MyPageProfileModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyPageProfileModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyPageProfileModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -53,6 +57,8 @@ class _$MyPageProfileModelCopyWithImpl<$Res, $Val extends MyPageProfileModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyPageProfileModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -99,6 +105,8 @@ class __$$MyPageProfileModelImplCopyWithImpl<$Res> $Res Function(_$MyPageProfileModelImpl) _then) : super(_value, _then); + /// Create a copy of MyPageProfileModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -159,12 +167,14 @@ class _$MyPageProfileModelImpl implements _MyPageProfileModel { other.isInfoChangeComplete == isInfoChangeComplete)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, nickname, image, isInfoChangeComplete); - @JsonKey(ignore: true) + /// Create a copy of MyPageProfileModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyPageProfileModelImplCopyWith<_$MyPageProfileModelImpl> get copyWith => @@ -195,8 +205,11 @@ abstract class _MyPageProfileModel implements MyPageProfileModel { File? get image; @override bool get isInfoChangeComplete; + + /// Create a copy of MyPageProfileModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyPageProfileModelImplCopyWith<_$MyPageProfileModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/my_vege/my_veggie_info_model.freezed.dart b/lib/model/my_vege/my_veggie_info_model.freezed.dart index 58e31f8c..5c603b0f 100644 --- a/lib/model/my_vege/my_veggie_info_model.freezed.dart +++ b/lib/model/my_vege/my_veggie_info_model.freezed.dart @@ -27,8 +27,12 @@ mixin _$MyVeggieInfoModel { int get period => throw _privateConstructorUsedError; int get myVeggieId => throw _privateConstructorUsedError; + /// Serializes this MyVeggieInfoModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyVeggieInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyVeggieInfoModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -58,6 +62,8 @@ class _$MyVeggieInfoModelCopyWithImpl<$Res, $Val extends MyVeggieInfoModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyVeggieInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -122,6 +128,8 @@ class __$$MyVeggieInfoModelImplCopyWithImpl<$Res> $Res Function(_$MyVeggieInfoModelImpl) _then) : super(_value, _then); + /// Create a copy of MyVeggieInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -210,12 +218,14 @@ class _$MyVeggieInfoModelImpl implements _MyVeggieInfoModel { other.myVeggieId == myVeggieId)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, nickname, image, veggieName, birthDay, period, myVeggieId); - @JsonKey(ignore: true) + /// Create a copy of MyVeggieInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyVeggieInfoModelImplCopyWith<_$MyVeggieInfoModelImpl> get copyWith => @@ -254,8 +264,11 @@ abstract class _MyVeggieInfoModel implements MyVeggieInfoModel { int get period; @override int get myVeggieId; + + /// Create a copy of MyVeggieInfoModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyVeggieInfoModelImplCopyWith<_$MyVeggieInfoModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/on_boarding/on_boarding_motivation_model.dart b/lib/model/on_boarding/on_boarding_motivation_model.dart index 18f01f53..3925d381 100644 --- a/lib/model/on_boarding/on_boarding_motivation_model.dart +++ b/lib/model/on_boarding/on_boarding_motivation_model.dart @@ -1,8 +1,8 @@ class OnBoardingMotivationModel { - String buttonText; - bool isFirstSelect; - bool isSecondSelect; - bool isThirdSelect; + final String buttonText; + final bool isFirstSelect; + final bool isSecondSelect; + final bool isThirdSelect; OnBoardingMotivationModel({ required this.buttonText, @@ -12,16 +12,16 @@ class OnBoardingMotivationModel { }); OnBoardingMotivationModel copyWith({ - String? buttonText, - bool? isFirstSelect, - bool? isSecondSelect, - bool? isThirdSelect, + required String buttonText, + required bool isFirstSelect, + required bool isSecondSelect, + required bool isThirdSelect, }) { return OnBoardingMotivationModel( - buttonText: buttonText ?? this.buttonText, - isFirstSelect: isFirstSelect ?? this.isFirstSelect, - isSecondSelect: isSecondSelect ?? this.isSecondSelect, - isThirdSelect: isThirdSelect ?? this.isThirdSelect, + buttonText: buttonText, + isFirstSelect: isFirstSelect, + isSecondSelect: isSecondSelect, + isThirdSelect: isThirdSelect, ); } } diff --git a/lib/model/routine/my_veggie_routine_info_model.freezed.dart b/lib/model/routine/my_veggie_routine_info_model.freezed.dart index 74240bdf..82b15c6b 100644 --- a/lib/model/routine/my_veggie_routine_info_model.freezed.dart +++ b/lib/model/routine/my_veggie_routine_info_model.freezed.dart @@ -26,8 +26,12 @@ mixin _$MyVeggieRoutineInfoModel { int get period => throw _privateConstructorUsedError; int get routineId => throw _privateConstructorUsedError; + /// Serializes this MyVeggieRoutineInfoModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyVeggieRoutineInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyVeggieRoutineInfoModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -52,6 +56,8 @@ class _$MyVeggieRoutineInfoModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyVeggieRoutineInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -103,6 +109,8 @@ class __$$MyVeggieRoutineInfoModelImplCopyWithImpl<$Res> $Res Function(_$MyVeggieRoutineInfoModelImpl) _then) : super(_value, _then); + /// Create a copy of MyVeggieRoutineInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -171,12 +179,14 @@ class _$MyVeggieRoutineInfoModelImpl implements _MyVeggieRoutineInfoModel { other.routineId == routineId)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, complete, content, period, routineId); - @JsonKey(ignore: true) + /// Create a copy of MyVeggieRoutineInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyVeggieRoutineInfoModelImplCopyWith<_$MyVeggieRoutineInfoModelImpl> @@ -209,8 +219,11 @@ abstract class _MyVeggieRoutineInfoModel implements MyVeggieRoutineInfoModel { int get period; @override int get routineId; + + /// Create a copy of MyVeggieRoutineInfoModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyVeggieRoutineInfoModelImplCopyWith<_$MyVeggieRoutineInfoModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/routine/routine_date_list_model.freezed.dart b/lib/model/routine/routine_date_list_model.freezed.dart index e5b0b6a4..ef774c5a 100644 --- a/lib/model/routine/routine_date_list_model.freezed.dart +++ b/lib/model/routine/routine_date_list_model.freezed.dart @@ -26,8 +26,12 @@ mixin _$RoutineDateListModel { List get myVeggieRoutineList => throw _privateConstructorUsedError; + /// Serializes this RoutineDateListModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of RoutineDateListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $RoutineDateListModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -56,6 +60,8 @@ class _$RoutineDateListModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of RoutineDateListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -108,6 +114,8 @@ class __$$RoutineDateListModelImplCopyWithImpl<$Res> $Res Function(_$RoutineDateListModelImpl) _then) : super(_value, _then); + /// Create a copy of RoutineDateListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -185,12 +193,14 @@ class _$RoutineDateListModelImpl implements _RoutineDateListModel { .equals(other._myVeggieRoutineList, _myVeggieRoutineList)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, nickname, veggieName, myVeggieId, const DeepCollectionEquality().hash(_myVeggieRoutineList)); - @JsonKey(ignore: true) + /// Create a copy of RoutineDateListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$RoutineDateListModelImplCopyWith<_$RoutineDateListModelImpl> @@ -225,8 +235,11 @@ abstract class _RoutineDateListModel implements RoutineDateListModel { int get myVeggieId; @override List get myVeggieRoutineList; + + /// Create a copy of RoutineDateListModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$RoutineDateListModelImplCopyWith<_$RoutineDateListModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/routine/routine_month_list_model.freezed.dart b/lib/model/routine/routine_month_list_model.freezed.dart index d79e6de6..556bda36 100644 --- a/lib/model/routine/routine_month_list_model.freezed.dart +++ b/lib/model/routine/routine_month_list_model.freezed.dart @@ -23,8 +23,12 @@ RoutineMonthListModel _$RoutineMonthListModelFromJson( mixin _$RoutineMonthListModel { List get date => throw _privateConstructorUsedError; + /// Serializes this RoutineMonthListModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of RoutineMonthListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $RoutineMonthListModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -49,6 +53,8 @@ class _$RoutineMonthListModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of RoutineMonthListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -84,6 +90,8 @@ class __$$RoutineMonthListModelImplCopyWithImpl<$Res> $Res Function(_$RoutineMonthListModelImpl) _then) : super(_value, _then); + /// Create a copy of RoutineMonthListModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -128,12 +136,14 @@ class _$RoutineMonthListModelImpl implements _RoutineMonthListModel { const DeepCollectionEquality().equals(other._date, _date)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, const DeepCollectionEquality().hash(_date)); - @JsonKey(ignore: true) + /// Create a copy of RoutineMonthListModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$RoutineMonthListModelImplCopyWith<_$RoutineMonthListModelImpl> @@ -157,8 +167,11 @@ abstract class _RoutineMonthListModel implements RoutineMonthListModel { @override List get date; + + /// Create a copy of RoutineMonthListModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$RoutineMonthListModelImplCopyWith<_$RoutineMonthListModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/search/farmclub_help_info_model.freezed.dart b/lib/model/search/farmclub_help_info_model.freezed.dart index 79f6bed7..6e0c5057 100644 --- a/lib/model/search/farmclub_help_info_model.freezed.dart +++ b/lib/model/search/farmclub_help_info_model.freezed.dart @@ -25,8 +25,12 @@ mixin _$FarmclubHelpInfoModel { List get selectHow => throw _privateConstructorUsedError; List get features => throw _privateConstructorUsedError; + /// Serializes this FarmclubHelpInfoModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmclubHelpInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmclubHelpInfoModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -51,6 +55,8 @@ class _$FarmclubHelpInfoModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmclubHelpInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -96,6 +102,8 @@ class __$$FarmclubHelpInfoModelImplCopyWithImpl<$Res> $Res Function(_$FarmclubHelpInfoModelImpl) _then) : super(_value, _then); + /// Create a copy of FarmclubHelpInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -168,7 +176,7 @@ class _$FarmclubHelpInfoModelImpl implements _FarmclubHelpInfoModel { const DeepCollectionEquality().equals(other._features, _features)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -176,7 +184,9 @@ class _$FarmclubHelpInfoModelImpl implements _FarmclubHelpInfoModel { const DeepCollectionEquality().hash(_selectHow), const DeepCollectionEquality().hash(_features)); - @JsonKey(ignore: true) + /// Create a copy of FarmclubHelpInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmclubHelpInfoModelImplCopyWith<_$FarmclubHelpInfoModelImpl> @@ -206,8 +216,11 @@ abstract class _FarmclubHelpInfoModel implements FarmclubHelpInfoModel { List get selectHow; @override List get features; + + /// Create a copy of FarmclubHelpInfoModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmclubHelpInfoModelImplCopyWith<_$FarmclubHelpInfoModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/search/recommended_farmclubs_model.freezed.dart b/lib/model/search/recommended_farmclubs_model.freezed.dart index c0ad4e71..10d0cb1c 100644 --- a/lib/model/search/recommended_farmclubs_model.freezed.dart +++ b/lib/model/search/recommended_farmclubs_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$RecommendedFarmclubsModel { SearchFarmclubDetailModel get recFirst => throw _privateConstructorUsedError; SearchFarmclubDetailModel get recSecond => throw _privateConstructorUsedError; + /// Serializes this RecommendedFarmclubsModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of RecommendedFarmclubsModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $RecommendedFarmclubsModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -55,6 +59,8 @@ class _$RecommendedFarmclubsModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of RecommendedFarmclubsModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -73,6 +79,8 @@ class _$RecommendedFarmclubsModelCopyWithImpl<$Res, ) as $Val); } + /// Create a copy of RecommendedFarmclubsModel + /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $SearchFarmclubDetailModelCopyWith<$Res> get recFirst { @@ -81,6 +89,8 @@ class _$RecommendedFarmclubsModelCopyWithImpl<$Res, }); } + /// Create a copy of RecommendedFarmclubsModel + /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $SearchFarmclubDetailModelCopyWith<$Res> get recSecond { @@ -119,6 +129,8 @@ class __$$RecommendedFarmclubsModelImplCopyWithImpl<$Res> $Res Function(_$RecommendedFarmclubsModelImpl) _then) : super(_value, _then); + /// Create a copy of RecommendedFarmclubsModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -168,11 +180,13 @@ class _$RecommendedFarmclubsModelImpl implements _RecommendedFarmclubsModel { other.recSecond == recSecond)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, recFirst, recSecond); - @JsonKey(ignore: true) + /// Create a copy of RecommendedFarmclubsModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$RecommendedFarmclubsModelImplCopyWith<_$RecommendedFarmclubsModelImpl> @@ -200,8 +214,11 @@ abstract class _RecommendedFarmclubsModel implements RecommendedFarmclubsModel { SearchFarmclubDetailModel get recFirst; @override SearchFarmclubDetailModel get recSecond; + + /// Create a copy of RecommendedFarmclubsModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$RecommendedFarmclubsModelImplCopyWith<_$RecommendedFarmclubsModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/search/search_farmclub_detail_model.freezed.dart b/lib/model/search/search_farmclub_detail_model.freezed.dart index ae834df0..6dee0e5e 100644 --- a/lib/model/search/search_farmclub_detail_model.freezed.dart +++ b/lib/model/search/search_farmclub_detail_model.freezed.dart @@ -32,8 +32,12 @@ mixin _$SearchFarmclubDetailModel { String get veggieInfoId => throw _privateConstructorUsedError; FarmclubHelpInfoModel get help => throw _privateConstructorUsedError; + /// Serializes this SearchFarmclubDetailModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of SearchFarmclubDetailModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $SearchFarmclubDetailModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -70,6 +74,8 @@ class _$SearchFarmclubDetailModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of SearchFarmclubDetailModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -128,6 +134,8 @@ class _$SearchFarmclubDetailModelCopyWithImpl<$Res, ) as $Val); } + /// Create a copy of SearchFarmclubDetailModel + /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $FarmclubHelpInfoModelCopyWith<$Res> get help { @@ -172,6 +180,8 @@ class __$$SearchFarmclubDetailModelImplCopyWithImpl<$Res> $Res Function(_$SearchFarmclubDetailModelImpl) _then) : super(_value, _then); + /// Create a copy of SearchFarmclubDetailModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -301,7 +311,7 @@ class _$SearchFarmclubDetailModelImpl implements _SearchFarmclubDetailModel { (identical(other.help, help) || other.help == help)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, @@ -316,7 +326,9 @@ class _$SearchFarmclubDetailModelImpl implements _SearchFarmclubDetailModel { veggieInfoId, help); - @JsonKey(ignore: true) + /// Create a copy of SearchFarmclubDetailModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SearchFarmclubDetailModelImplCopyWith<_$SearchFarmclubDetailModelImpl> @@ -368,8 +380,11 @@ abstract class _SearchFarmclubDetailModel implements SearchFarmclubDetailModel { String get veggieInfoId; @override FarmclubHelpInfoModel get help; + + /// Create a copy of SearchFarmclubDetailModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$SearchFarmclubDetailModelImplCopyWith<_$SearchFarmclubDetailModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/search/search_farmclub_info_model.freezed.dart b/lib/model/search/search_farmclub_info_model.freezed.dart index 912800bf..65d2682a 100644 --- a/lib/model/search/search_farmclub_info_model.freezed.dart +++ b/lib/model/search/search_farmclub_info_model.freezed.dart @@ -30,8 +30,12 @@ mixin _$SearchFarmclubInfoModel { int get maxUser => throw _privateConstructorUsedError; int get curUser => throw _privateConstructorUsedError; + /// Serializes this SearchFarmclubInfoModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of SearchFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $SearchFarmclubInfoModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -64,6 +68,8 @@ class _$SearchFarmclubInfoModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of SearchFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -143,6 +149,8 @@ class __$$SearchFarmclubInfoModelImplCopyWithImpl<$Res> $Res Function(_$SearchFarmclubInfoModelImpl) _then) : super(_value, _then); + /// Create a copy of SearchFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -249,12 +257,14 @@ class _$SearchFarmclubInfoModelImpl implements _SearchFarmclubInfoModel { (identical(other.curUser, curUser) || other.curUser == curUser)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, id, name, veggieName, veggieImage, difficulty, startedAt, maxUser, curUser); - @JsonKey(ignore: true) + /// Create a copy of SearchFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$SearchFarmclubInfoModelImplCopyWith<_$SearchFarmclubInfoModelImpl> @@ -299,8 +309,11 @@ abstract class _SearchFarmclubInfoModel implements SearchFarmclubInfoModel { int get maxUser; @override int get curUser; + + /// Create a copy of SearchFarmclubInfoModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$SearchFarmclubInfoModelImplCopyWith<_$SearchFarmclubInfoModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/veggie_history/my_veggie_diary_result_model.freezed.dart b/lib/model/veggie_history/my_veggie_diary_result_model.freezed.dart index 9395d965..b8458592 100644 --- a/lib/model/veggie_history/my_veggie_diary_result_model.freezed.dart +++ b/lib/model/veggie_history/my_veggie_diary_result_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$MyVeggieDiaryResultModel { List get diaries => throw _privateConstructorUsedError; FarmResult get farmResult => throw _privateConstructorUsedError; + /// Serializes this MyVeggieDiaryResultModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyVeggieDiaryResultModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyVeggieDiaryResultModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -52,6 +56,8 @@ class _$MyVeggieDiaryResultModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyVeggieDiaryResultModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -70,6 +76,8 @@ class _$MyVeggieDiaryResultModelCopyWithImpl<$Res, ) as $Val); } + /// Create a copy of MyVeggieDiaryResultModel + /// with the given fields replaced by the non-null parameter values. @override @pragma('vm:prefer-inline') $FarmResultCopyWith<$Res> get farmResult { @@ -104,6 +112,8 @@ class __$$MyVeggieDiaryResultModelImplCopyWithImpl<$Res> $Res Function(_$MyVeggieDiaryResultModelImpl) _then) : super(_value, _then); + /// Create a copy of MyVeggieDiaryResultModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -159,12 +169,14 @@ class _$MyVeggieDiaryResultModelImpl implements _MyVeggieDiaryResultModel { other.farmResult == farmResult)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, const DeepCollectionEquality().hash(_diaries), farmResult); - @JsonKey(ignore: true) + /// Create a copy of MyVeggieDiaryResultModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyVeggieDiaryResultModelImplCopyWith<_$MyVeggieDiaryResultModelImpl> @@ -191,8 +203,11 @@ abstract class _MyVeggieDiaryResultModel implements MyVeggieDiaryResultModel { List get diaries; @override FarmResult get farmResult; + + /// Create a copy of MyVeggieDiaryResultModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyVeggieDiaryResultModelImplCopyWith<_$MyVeggieDiaryResultModelImpl> get copyWith => throw _privateConstructorUsedError; } @@ -207,8 +222,12 @@ mixin _$Diary { String get content => throw _privateConstructorUsedError; String get dateTime => throw _privateConstructorUsedError; + /// Serializes this Diary to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of Diary + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $DiaryCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -230,6 +249,8 @@ class _$DiaryCopyWithImpl<$Res, $Val extends Diary> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of Diary + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -272,6 +293,8 @@ class __$$DiaryImplCopyWithImpl<$Res> _$DiaryImpl _value, $Res Function(_$DiaryImpl) _then) : super(_value, _then); + /// Create a copy of Diary + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -329,11 +352,13 @@ class _$DiaryImpl implements _Diary { other.dateTime == dateTime)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, postImage, content, dateTime); - @JsonKey(ignore: true) + /// Create a copy of Diary + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$DiaryImplCopyWith<_$DiaryImpl> get copyWith => @@ -361,8 +386,11 @@ abstract class _Diary implements Diary { String get content; @override String get dateTime; + + /// Create a copy of Diary + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$DiaryImplCopyWith<_$DiaryImpl> get copyWith => throw _privateConstructorUsedError; } @@ -377,8 +405,12 @@ mixin _$FarmResult { String get content => throw _privateConstructorUsedError; String get dateTime => throw _privateConstructorUsedError; + /// Serializes this FarmResult to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of FarmResult + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $FarmResultCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -402,6 +434,8 @@ class _$FarmResultCopyWithImpl<$Res, $Val extends FarmResult> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of FarmResult + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -445,6 +479,8 @@ class __$$FarmResultImplCopyWithImpl<$Res> _$FarmResultImpl _value, $Res Function(_$FarmResultImpl) _then) : super(_value, _then); + /// Create a copy of FarmResult + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -502,11 +538,13 @@ class _$FarmResultImpl implements _FarmResult { other.dateTime == dateTime)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, postImage, content, dateTime); - @JsonKey(ignore: true) + /// Create a copy of FarmResult + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FarmResultImplCopyWith<_$FarmResultImpl> get copyWith => @@ -535,8 +573,11 @@ abstract class _FarmResult implements FarmResult { String get content; @override String get dateTime; + + /// Create a copy of FarmResult + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$FarmResultImplCopyWith<_$FarmResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/veggie_history/my_veggie_history_model.freezed.dart b/lib/model/veggie_history/my_veggie_history_model.freezed.dart index 5bba24e6..369e271a 100644 --- a/lib/model/veggie_history/my_veggie_history_model.freezed.dart +++ b/lib/model/veggie_history/my_veggie_history_model.freezed.dart @@ -27,8 +27,12 @@ mixin _$MyVeggieHistoryModel { String get name => throw _privateConstructorUsedError; String get period => throw _privateConstructorUsedError; + /// Serializes this MyVeggieHistoryModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of MyVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $MyVeggieHistoryModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -59,6 +63,8 @@ class _$MyVeggieHistoryModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of MyVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -123,6 +129,8 @@ class __$$MyVeggieHistoryModelImplCopyWithImpl<$Res> $Res Function(_$MyVeggieHistoryModelImpl) _then) : super(_value, _then); + /// Create a copy of MyVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -210,12 +218,14 @@ class _$MyVeggieHistoryModelImpl implements _MyVeggieHistoryModel { (identical(other.period, period) || other.period == period)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( runtimeType, detailId, image, historyName, backgroundColor, name, period); - @JsonKey(ignore: true) + /// Create a copy of MyVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$MyVeggieHistoryModelImplCopyWith<_$MyVeggieHistoryModelImpl> @@ -255,8 +265,11 @@ abstract class _MyVeggieHistoryModel implements MyVeggieHistoryModel { String get name; @override String get period; + + /// Create a copy of MyVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$MyVeggieHistoryModelImplCopyWith<_$MyVeggieHistoryModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/veggie_history/user_veggie_history_model.freezed.dart b/lib/model/veggie_history/user_veggie_history_model.freezed.dart index fc1a592b..5daae3e1 100644 --- a/lib/model/veggie_history/user_veggie_history_model.freezed.dart +++ b/lib/model/veggie_history/user_veggie_history_model.freezed.dart @@ -25,8 +25,12 @@ mixin _$UserVeggieHistoryModel { List get veggieHistoryIcons => throw _privateConstructorUsedError; + /// Serializes this UserVeggieHistoryModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of UserVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $UserVeggieHistoryModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -53,6 +57,8 @@ class _$UserVeggieHistoryModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of UserVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -96,6 +102,8 @@ class __$$UserVeggieHistoryModelImplCopyWithImpl<$Res> $Res Function(_$UserVeggieHistoryModelImpl) _then) : super(_value, _then); + /// Create a copy of UserVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -153,12 +161,14 @@ class _$UserVeggieHistoryModelImpl implements _UserVeggieHistoryModel { .equals(other._veggieHistoryIcons, _veggieHistoryIcons)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, veggieHistoryCount, const DeepCollectionEquality().hash(_veggieHistoryIcons)); - @JsonKey(ignore: true) + /// Create a copy of UserVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$UserVeggieHistoryModelImplCopyWith<_$UserVeggieHistoryModelImpl> @@ -186,8 +196,11 @@ abstract class _UserVeggieHistoryModel implements UserVeggieHistoryModel { int get veggieHistoryCount; @override List get veggieHistoryIcons; + + /// Create a copy of UserVeggieHistoryModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$UserVeggieHistoryModelImplCopyWith<_$UserVeggieHistoryModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/veggie_history/veggie_history_icon_model.freezed.dart b/lib/model/veggie_history/veggie_history_icon_model.freezed.dart index a9fa669a..7469d75b 100644 --- a/lib/model/veggie_history/veggie_history_icon_model.freezed.dart +++ b/lib/model/veggie_history/veggie_history_icon_model.freezed.dart @@ -24,8 +24,12 @@ mixin _$VeggieHistoryIconModel { String? get url => throw _privateConstructorUsedError; String? get backgroundColor => throw _privateConstructorUsedError; + /// Serializes this VeggieHistoryIconModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of VeggieHistoryIconModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $VeggieHistoryIconModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -50,6 +54,8 @@ class _$VeggieHistoryIconModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of VeggieHistoryIconModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -91,6 +97,8 @@ class __$$VeggieHistoryIconModelImplCopyWithImpl<$Res> $Res Function(_$VeggieHistoryIconModelImpl) _then) : super(_value, _then); + /// Create a copy of VeggieHistoryIconModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -139,11 +147,13 @@ class _$VeggieHistoryIconModelImpl implements _VeggieHistoryIconModel { other.backgroundColor == backgroundColor)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, url, backgroundColor); - @JsonKey(ignore: true) + /// Create a copy of VeggieHistoryIconModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$VeggieHistoryIconModelImplCopyWith<_$VeggieHistoryIconModelImpl> @@ -170,8 +180,11 @@ abstract class _VeggieHistoryIconModel implements VeggieHistoryIconModel { String? get url; @override String? get backgroundColor; + + /// Create a copy of VeggieHistoryIconModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$VeggieHistoryIconModelImplCopyWith<_$VeggieHistoryIconModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/veggie_info/recommend_veggie_model.freezed.dart b/lib/model/veggie_info/recommend_veggie_model.freezed.dart index 572a406c..ea92d270 100644 --- a/lib/model/veggie_info/recommend_veggie_model.freezed.dart +++ b/lib/model/veggie_info/recommend_veggie_model.freezed.dart @@ -25,8 +25,12 @@ mixin _$RecommendVeggieModel { String get difficulty => throw _privateConstructorUsedError; String get period => throw _privateConstructorUsedError; + /// Serializes this RecommendVeggieModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of RecommendVeggieModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $RecommendVeggieModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -51,6 +55,8 @@ class _$RecommendVeggieModelCopyWithImpl<$Res, // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of RecommendVeggieModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -99,6 +105,8 @@ class __$$RecommendVeggieModelImplCopyWithImpl<$Res> $Res Function(_$RecommendVeggieModelImpl) _then) : super(_value, _then); + /// Create a copy of RecommendVeggieModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -166,11 +174,13 @@ class _$RecommendVeggieModelImpl implements _RecommendVeggieModel { (identical(other.period, period) || other.period == period)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, image, name, difficulty, period); - @JsonKey(ignore: true) + /// Create a copy of RecommendVeggieModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$RecommendVeggieModelImplCopyWith<_$RecommendVeggieModelImpl> @@ -204,8 +214,11 @@ abstract class _RecommendVeggieModel implements RecommendVeggieModel { String get difficulty; @override String get period; + + /// Create a copy of RecommendVeggieModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$RecommendVeggieModelImplCopyWith<_$RecommendVeggieModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/model/veggie_info/veggie_info_model.freezed.dart b/lib/model/veggie_info/veggie_info_model.freezed.dart index a4e070f1..9d37b36e 100644 --- a/lib/model/veggie_info/veggie_info_model.freezed.dart +++ b/lib/model/veggie_info/veggie_info_model.freezed.dart @@ -26,8 +26,12 @@ mixin _$VeggieInfoModel { String get veggieImage => throw _privateConstructorUsedError; String get period => throw _privateConstructorUsedError; + /// Serializes this VeggieInfoModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) + + /// Create a copy of VeggieInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) $VeggieInfoModelCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -56,6 +60,8 @@ class _$VeggieInfoModelCopyWithImpl<$Res, $Val extends VeggieInfoModel> // ignore: unused_field final $Res Function($Val) _then; + /// Create a copy of VeggieInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -114,6 +120,8 @@ class __$$VeggieInfoModelImplCopyWithImpl<$Res> _$VeggieInfoModelImpl _value, $Res Function(_$VeggieInfoModelImpl) _then) : super(_value, _then); + /// Create a copy of VeggieInfoModel + /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ @@ -191,12 +199,14 @@ class _$VeggieInfoModelImpl implements _VeggieInfoModel { (identical(other.period, period) || other.period == period)); } - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, id, name, difficulty, veggieImage, period); - @JsonKey(ignore: true) + /// Create a copy of VeggieInfoModel + /// with the given fields replaced by the non-null parameter values. + @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$VeggieInfoModelImplCopyWith<_$VeggieInfoModelImpl> get copyWith => @@ -232,8 +242,11 @@ abstract class _VeggieInfoModel implements VeggieInfoModel { String get veggieImage; @override String get period; + + /// Create a copy of VeggieInfoModel + /// with the given fields replaced by the non-null parameter values. @override - @JsonKey(ignore: true) + @JsonKey(includeFromJson: false, includeToJson: false) _$$VeggieInfoModelImplCopyWith<_$VeggieInfoModelImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/view/on_boarding/on_boarding_screen.dart b/lib/view/on_boarding/on_boarding_screen.dart index 2820b109..6334ec84 100644 --- a/lib/view/on_boarding/on_boarding_screen.dart +++ b/lib/view/on_boarding/on_boarding_screen.dart @@ -31,10 +31,9 @@ class OnBoardingScreen extends ConsumerWidget { final level = ref.watch(onBoardingLevelNotifierProvider); final movePage = ref.read(onBoardingMoveProvider.notifier); - String nextButtonText = "다음"; + String nextButtonText = motivation.value!.buttonText; String currentIndex; bool enabled = false; - List motivationList = []; switch (currentPageIndex) { case "first": @@ -141,19 +140,10 @@ class OnBoardingScreen extends ConsumerWidget { ); movePage.moveToSecondPage(); case "second": - if (motivation.value!.isFirstSelect) { - motivationList.add('알뜰살뜰'); - } - if (motivation.value!.isSecondSelect) { - motivationList.add('건강과 웰빙'); - } - if (motivation.value!.isThirdSelect) { - motivationList.add('심리적 안정'); - } ref .read(onBoardingMotivationNotifierProvider .notifier) - .postMotivation(motivationList); + .postMotivation(); movePage.moveToThirdPage(); case "third": movePage.moveToFourthPage(); diff --git a/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart b/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart index f242238d..825bb42c 100644 --- a/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart +++ b/lib/view_model/on_boarding/on_boarding_motivation_notifier.dart @@ -52,11 +52,25 @@ class OnBoardingMotivationNotifier extends _$OnBoardingMotivationNotifier { newButtonText = '다음'; } - state = AsyncData(currentState.copyWith(buttonText: newButtonText)); + state = AsyncData(currentState.copyWith( + isFirstSelect: state.value!.isFirstSelect, + isSecondSelect: state.value!.isSecondSelect, + isThirdSelect: state.value!.isThirdSelect, + buttonText: newButtonText)); } + Future postMotivation() async { + List motivation = []; + if (state.value!.isFirstSelect) { + motivation.add('알뜰살뜰'); + } + if (state.value!.isSecondSelect) { + motivation.add('건강과 웰빙'); + } + if (state.value!.isThirdSelect) { + motivation.add('심리적 안정'); + } - Future postMotivation(List motivation) async { await UserRepository.postMotivation(motivation); } } diff --git a/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart b/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart index 093d149d..489447db 100644 --- a/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart +++ b/lib/view_model/on_boarding/on_boarding_motivation_notifier.g.dart @@ -7,7 +7,7 @@ part of 'on_boarding_motivation_notifier.dart'; // ************************************************************************** String _$onBoardingMotivationNotifierHash() => - r'0bc6f057b219baa328a852610b466e1401ee4a7e'; + r'f22550434c2d454c0c27533067bb0e69b60a2c7d'; /// See also [OnBoardingMotivationNotifier]. @ProviderFor(OnBoardingMotivationNotifier) diff --git a/lib/view_model/on_boarding/on_boarding_provider.g.dart b/lib/view_model/on_boarding/on_boarding_provider.g.dart index c8b3264b..2e2d7441 100644 --- a/lib/view_model/on_boarding/on_boarding_provider.g.dart +++ b/lib/view_model/on_boarding/on_boarding_provider.g.dart @@ -22,7 +22,9 @@ final onBoardingUserProfileModelProvider = allTransitiveDependencies: null, ); +@Deprecated('Will be removed in 3.0. Use Ref instead') +// ignore: unused_element typedef OnBoardingUserProfileModelRef = AutoDisposeFutureProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member, deprecated_member_use_from_same_package