// coverage:ignore-file // GENERATED CODE - DO NOT MODIFY BY HAND // ignore_for_file: type=lint // ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark part of 'finish_diary_day_model.dart'; // ************************************************************************** // FreezedGenerator // ************************************************************************** T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); FinishDiaryDayModel _$FinishDiaryDayModelFromJson(Map json) { return _FinishDiaryDayModel.fromJson(json); } /// @nodoc mixin _$FinishDiaryDayModel { String get wakeUp => throw _privateConstructorUsedError; String get retire => throw _privateConstructorUsedError; String get comment => throw _privateConstructorUsedError; /// Serializes this FinishDiaryDayModel to a JSON map. Map toJson() => throw _privateConstructorUsedError; /// Create a copy of FinishDiaryDayModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $FinishDiaryDayModelCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $FinishDiaryDayModelCopyWith<$Res> { factory $FinishDiaryDayModelCopyWith( FinishDiaryDayModel value, $Res Function(FinishDiaryDayModel) then) = _$FinishDiaryDayModelCopyWithImpl<$Res, FinishDiaryDayModel>; @useResult $Res call({String wakeUp, String retire, String comment}); } /// @nodoc class _$FinishDiaryDayModelCopyWithImpl<$Res, $Val extends FinishDiaryDayModel> implements $FinishDiaryDayModelCopyWith<$Res> { _$FinishDiaryDayModelCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of FinishDiaryDayModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? wakeUp = null, Object? retire = null, Object? comment = null, }) { return _then(_value.copyWith( wakeUp: null == wakeUp ? _value.wakeUp : wakeUp // ignore: cast_nullable_to_non_nullable as String, retire: null == retire ? _value.retire : retire // ignore: cast_nullable_to_non_nullable as String, comment: null == comment ? _value.comment : comment // ignore: cast_nullable_to_non_nullable as String, ) as $Val); } } /// @nodoc abstract class _$$FinishDiaryDayModelImplCopyWith<$Res> implements $FinishDiaryDayModelCopyWith<$Res> { factory _$$FinishDiaryDayModelImplCopyWith(_$FinishDiaryDayModelImpl value, $Res Function(_$FinishDiaryDayModelImpl) then) = __$$FinishDiaryDayModelImplCopyWithImpl<$Res>; @override @useResult $Res call({String wakeUp, String retire, String comment}); } /// @nodoc class __$$FinishDiaryDayModelImplCopyWithImpl<$Res> extends _$FinishDiaryDayModelCopyWithImpl<$Res, _$FinishDiaryDayModelImpl> implements _$$FinishDiaryDayModelImplCopyWith<$Res> { __$$FinishDiaryDayModelImplCopyWithImpl(_$FinishDiaryDayModelImpl _value, $Res Function(_$FinishDiaryDayModelImpl) _then) : super(_value, _then); /// Create a copy of FinishDiaryDayModel /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? wakeUp = null, Object? retire = null, Object? comment = null, }) { return _then(_$FinishDiaryDayModelImpl( wakeUp: null == wakeUp ? _value.wakeUp : wakeUp // ignore: cast_nullable_to_non_nullable as String, retire: null == retire ? _value.retire : retire // ignore: cast_nullable_to_non_nullable as String, comment: null == comment ? _value.comment : comment // ignore: cast_nullable_to_non_nullable as String, )); } } /// @nodoc @JsonSerializable() class _$FinishDiaryDayModelImpl implements _FinishDiaryDayModel { const _$FinishDiaryDayModelImpl( {required this.wakeUp, required this.retire, required this.comment}); factory _$FinishDiaryDayModelImpl.fromJson(Map json) => _$$FinishDiaryDayModelImplFromJson(json); @override final String wakeUp; @override final String retire; @override final String comment; @override String toString() { return 'FinishDiaryDayModel(wakeUp: $wakeUp, retire: $retire, comment: $comment)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FinishDiaryDayModelImpl && (identical(other.wakeUp, wakeUp) || other.wakeUp == wakeUp) && (identical(other.retire, retire) || other.retire == retire) && (identical(other.comment, comment) || other.comment == comment)); } @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash(runtimeType, wakeUp, retire, comment); /// Create a copy of FinishDiaryDayModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$FinishDiaryDayModelImplCopyWith<_$FinishDiaryDayModelImpl> get copyWith => __$$FinishDiaryDayModelImplCopyWithImpl<_$FinishDiaryDayModelImpl>( this, _$identity); @override Map toJson() { return _$$FinishDiaryDayModelImplToJson( this, ); } } abstract class _FinishDiaryDayModel implements FinishDiaryDayModel { const factory _FinishDiaryDayModel( {required final String wakeUp, required final String retire, required final String comment}) = _$FinishDiaryDayModelImpl; factory _FinishDiaryDayModel.fromJson(Map json) = _$FinishDiaryDayModelImpl.fromJson; @override String get wakeUp; @override String get retire; @override String get comment; /// Create a copy of FinishDiaryDayModel /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$FinishDiaryDayModelImplCopyWith<_$FinishDiaryDayModelImpl> get copyWith => throw _privateConstructorUsedError; }