// 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 'recipe_create_entity.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'); /// @nodoc mixin _$RecipeCreateEntity { String? get title => throw _privateConstructorUsedError; TypeOfRecipe? get typeOfRecipe => throw _privateConstructorUsedError; int? get countOfPortions => throw _privateConstructorUsedError; double? get energyInOnePortion => throw _privateConstructorUsedError; int? get totalCookHours => throw _privateConstructorUsedError; int? get totalCookMinutes => throw _privateConstructorUsedError; int? get activeCookHours => throw _privateConstructorUsedError; int? get activeCookMinutes => throw _privateConstructorUsedError; String? get description => throw _privateConstructorUsedError; File? get image => throw _privateConstructorUsedError; String? get videoUrl => throw _privateConstructorUsedError; List get ingredients => throw _privateConstructorUsedError; List get steps => throw _privateConstructorUsedError; List get tags => throw _privateConstructorUsedError; /// Create a copy of RecipeCreateEntity /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $RecipeCreateEntityCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $RecipeCreateEntityCopyWith<$Res> { factory $RecipeCreateEntityCopyWith( RecipeCreateEntity value, $Res Function(RecipeCreateEntity) then) = _$RecipeCreateEntityCopyWithImpl<$Res, RecipeCreateEntity>; @useResult $Res call( {String? title, TypeOfRecipe? typeOfRecipe, int? countOfPortions, double? energyInOnePortion, int? totalCookHours, int? totalCookMinutes, int? activeCookHours, int? activeCookMinutes, String? description, File? image, String? videoUrl, List ingredients, List steps, List tags}); } /// @nodoc class _$RecipeCreateEntityCopyWithImpl<$Res, $Val extends RecipeCreateEntity> implements $RecipeCreateEntityCopyWith<$Res> { _$RecipeCreateEntityCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of RecipeCreateEntity /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? title = freezed, Object? typeOfRecipe = freezed, Object? countOfPortions = freezed, Object? energyInOnePortion = freezed, Object? totalCookHours = freezed, Object? totalCookMinutes = freezed, Object? activeCookHours = freezed, Object? activeCookMinutes = freezed, Object? description = freezed, Object? image = freezed, Object? videoUrl = freezed, Object? ingredients = null, Object? steps = null, Object? tags = null, }) { return _then(_value.copyWith( title: freezed == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String?, typeOfRecipe: freezed == typeOfRecipe ? _value.typeOfRecipe : typeOfRecipe // ignore: cast_nullable_to_non_nullable as TypeOfRecipe?, countOfPortions: freezed == countOfPortions ? _value.countOfPortions : countOfPortions // ignore: cast_nullable_to_non_nullable as int?, energyInOnePortion: freezed == energyInOnePortion ? _value.energyInOnePortion : energyInOnePortion // ignore: cast_nullable_to_non_nullable as double?, totalCookHours: freezed == totalCookHours ? _value.totalCookHours : totalCookHours // ignore: cast_nullable_to_non_nullable as int?, totalCookMinutes: freezed == totalCookMinutes ? _value.totalCookMinutes : totalCookMinutes // ignore: cast_nullable_to_non_nullable as int?, activeCookHours: freezed == activeCookHours ? _value.activeCookHours : activeCookHours // ignore: cast_nullable_to_non_nullable as int?, activeCookMinutes: freezed == activeCookMinutes ? _value.activeCookMinutes : activeCookMinutes // ignore: cast_nullable_to_non_nullable as int?, description: freezed == description ? _value.description : description // ignore: cast_nullable_to_non_nullable as String?, image: freezed == image ? _value.image : image // ignore: cast_nullable_to_non_nullable as File?, videoUrl: freezed == videoUrl ? _value.videoUrl : videoUrl // ignore: cast_nullable_to_non_nullable as String?, ingredients: null == ingredients ? _value.ingredients : ingredients // ignore: cast_nullable_to_non_nullable as List, steps: null == steps ? _value.steps : steps // ignore: cast_nullable_to_non_nullable as List, tags: null == tags ? _value.tags : tags // ignore: cast_nullable_to_non_nullable as List, ) as $Val); } } /// @nodoc abstract class _$$RecipeCreateEntityImplCopyWith<$Res> implements $RecipeCreateEntityCopyWith<$Res> { factory _$$RecipeCreateEntityImplCopyWith(_$RecipeCreateEntityImpl value, $Res Function(_$RecipeCreateEntityImpl) then) = __$$RecipeCreateEntityImplCopyWithImpl<$Res>; @override @useResult $Res call( {String? title, TypeOfRecipe? typeOfRecipe, int? countOfPortions, double? energyInOnePortion, int? totalCookHours, int? totalCookMinutes, int? activeCookHours, int? activeCookMinutes, String? description, File? image, String? videoUrl, List ingredients, List steps, List tags}); } /// @nodoc class __$$RecipeCreateEntityImplCopyWithImpl<$Res> extends _$RecipeCreateEntityCopyWithImpl<$Res, _$RecipeCreateEntityImpl> implements _$$RecipeCreateEntityImplCopyWith<$Res> { __$$RecipeCreateEntityImplCopyWithImpl(_$RecipeCreateEntityImpl _value, $Res Function(_$RecipeCreateEntityImpl) _then) : super(_value, _then); /// Create a copy of RecipeCreateEntity /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? title = freezed, Object? typeOfRecipe = freezed, Object? countOfPortions = freezed, Object? energyInOnePortion = freezed, Object? totalCookHours = freezed, Object? totalCookMinutes = freezed, Object? activeCookHours = freezed, Object? activeCookMinutes = freezed, Object? description = freezed, Object? image = freezed, Object? videoUrl = freezed, Object? ingredients = null, Object? steps = null, Object? tags = null, }) { return _then(_$RecipeCreateEntityImpl( title: freezed == title ? _value.title : title // ignore: cast_nullable_to_non_nullable as String?, typeOfRecipe: freezed == typeOfRecipe ? _value.typeOfRecipe : typeOfRecipe // ignore: cast_nullable_to_non_nullable as TypeOfRecipe?, countOfPortions: freezed == countOfPortions ? _value.countOfPortions : countOfPortions // ignore: cast_nullable_to_non_nullable as int?, energyInOnePortion: freezed == energyInOnePortion ? _value.energyInOnePortion : energyInOnePortion // ignore: cast_nullable_to_non_nullable as double?, totalCookHours: freezed == totalCookHours ? _value.totalCookHours : totalCookHours // ignore: cast_nullable_to_non_nullable as int?, totalCookMinutes: freezed == totalCookMinutes ? _value.totalCookMinutes : totalCookMinutes // ignore: cast_nullable_to_non_nullable as int?, activeCookHours: freezed == activeCookHours ? _value.activeCookHours : activeCookHours // ignore: cast_nullable_to_non_nullable as int?, activeCookMinutes: freezed == activeCookMinutes ? _value.activeCookMinutes : activeCookMinutes // ignore: cast_nullable_to_non_nullable as int?, description: freezed == description ? _value.description : description // ignore: cast_nullable_to_non_nullable as String?, image: freezed == image ? _value.image : image // ignore: cast_nullable_to_non_nullable as File?, videoUrl: freezed == videoUrl ? _value.videoUrl : videoUrl // ignore: cast_nullable_to_non_nullable as String?, ingredients: null == ingredients ? _value._ingredients : ingredients // ignore: cast_nullable_to_non_nullable as List, steps: null == steps ? _value._steps : steps // ignore: cast_nullable_to_non_nullable as List, tags: null == tags ? _value._tags : tags // ignore: cast_nullable_to_non_nullable as List, )); } } /// @nodoc class _$RecipeCreateEntityImpl extends _RecipeCreateEntity { const _$RecipeCreateEntityImpl( {this.title, this.typeOfRecipe, this.countOfPortions, this.energyInOnePortion, this.totalCookHours, this.totalCookMinutes, this.activeCookHours, this.activeCookMinutes, this.description, this.image, this.videoUrl, required final List ingredients, required final List steps, required final List tags}) : _ingredients = ingredients, _steps = steps, _tags = tags, super._(); @override final String? title; @override final TypeOfRecipe? typeOfRecipe; @override final int? countOfPortions; @override final double? energyInOnePortion; @override final int? totalCookHours; @override final int? totalCookMinutes; @override final int? activeCookHours; @override final int? activeCookMinutes; @override final String? description; @override final File? image; @override final String? videoUrl; final List _ingredients; @override List get ingredients { if (_ingredients is EqualUnmodifiableListView) return _ingredients; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_ingredients); } final List _steps; @override List get steps { if (_steps is EqualUnmodifiableListView) return _steps; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_steps); } final List _tags; @override List get tags { if (_tags is EqualUnmodifiableListView) return _tags; // ignore: implicit_dynamic_type return EqualUnmodifiableListView(_tags); } @override String toString() { return 'RecipeCreateEntity(title: $title, typeOfRecipe: $typeOfRecipe, countOfPortions: $countOfPortions, energyInOnePortion: $energyInOnePortion, totalCookHours: $totalCookHours, totalCookMinutes: $totalCookMinutes, activeCookHours: $activeCookHours, activeCookMinutes: $activeCookMinutes, description: $description, image: $image, videoUrl: $videoUrl, ingredients: $ingredients, steps: $steps, tags: $tags)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$RecipeCreateEntityImpl && (identical(other.title, title) || other.title == title) && (identical(other.typeOfRecipe, typeOfRecipe) || other.typeOfRecipe == typeOfRecipe) && (identical(other.countOfPortions, countOfPortions) || other.countOfPortions == countOfPortions) && (identical(other.energyInOnePortion, energyInOnePortion) || other.energyInOnePortion == energyInOnePortion) && (identical(other.totalCookHours, totalCookHours) || other.totalCookHours == totalCookHours) && (identical(other.totalCookMinutes, totalCookMinutes) || other.totalCookMinutes == totalCookMinutes) && (identical(other.activeCookHours, activeCookHours) || other.activeCookHours == activeCookHours) && (identical(other.activeCookMinutes, activeCookMinutes) || other.activeCookMinutes == activeCookMinutes) && (identical(other.description, description) || other.description == description) && (identical(other.image, image) || other.image == image) && (identical(other.videoUrl, videoUrl) || other.videoUrl == videoUrl) && const DeepCollectionEquality() .equals(other._ingredients, _ingredients) && const DeepCollectionEquality().equals(other._steps, _steps) && const DeepCollectionEquality().equals(other._tags, _tags)); } @override int get hashCode => Object.hash( runtimeType, title, typeOfRecipe, countOfPortions, energyInOnePortion, totalCookHours, totalCookMinutes, activeCookHours, activeCookMinutes, description, image, videoUrl, const DeepCollectionEquality().hash(_ingredients), const DeepCollectionEquality().hash(_steps), const DeepCollectionEquality().hash(_tags)); /// Create a copy of RecipeCreateEntity /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$RecipeCreateEntityImplCopyWith<_$RecipeCreateEntityImpl> get copyWith => __$$RecipeCreateEntityImplCopyWithImpl<_$RecipeCreateEntityImpl>( this, _$identity); } abstract class _RecipeCreateEntity extends RecipeCreateEntity { const factory _RecipeCreateEntity( {final String? title, final TypeOfRecipe? typeOfRecipe, final int? countOfPortions, final double? energyInOnePortion, final int? totalCookHours, final int? totalCookMinutes, final int? activeCookHours, final int? activeCookMinutes, final String? description, final File? image, final String? videoUrl, required final List ingredients, required final List steps, required final List tags}) = _$RecipeCreateEntityImpl; const _RecipeCreateEntity._() : super._(); @override String? get title; @override TypeOfRecipe? get typeOfRecipe; @override int? get countOfPortions; @override double? get energyInOnePortion; @override int? get totalCookHours; @override int? get totalCookMinutes; @override int? get activeCookHours; @override int? get activeCookMinutes; @override String? get description; @override File? get image; @override String? get videoUrl; @override List get ingredients; @override List get steps; @override List get tags; /// Create a copy of RecipeCreateEntity /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$RecipeCreateEntityImplCopyWith<_$RecipeCreateEntityImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc mixin _$StepEntity { String? get description => throw _privateConstructorUsedError; File? get image => throw _privateConstructorUsedError; /// Create a copy of StepEntity /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) $StepEntityCopyWith get copyWith => throw _privateConstructorUsedError; } /// @nodoc abstract class $StepEntityCopyWith<$Res> { factory $StepEntityCopyWith( StepEntity value, $Res Function(StepEntity) then) = _$StepEntityCopyWithImpl<$Res, StepEntity>; @useResult $Res call({String? description, File? image}); } /// @nodoc class _$StepEntityCopyWithImpl<$Res, $Val extends StepEntity> implements $StepEntityCopyWith<$Res> { _$StepEntityCopyWithImpl(this._value, this._then); // ignore: unused_field final $Val _value; // ignore: unused_field final $Res Function($Val) _then; /// Create a copy of StepEntity /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? description = freezed, Object? image = freezed, }) { return _then(_value.copyWith( description: freezed == description ? _value.description : description // ignore: cast_nullable_to_non_nullable as String?, image: freezed == image ? _value.image : image // ignore: cast_nullable_to_non_nullable as File?, ) as $Val); } } /// @nodoc abstract class _$$StepEntityImplCopyWith<$Res> implements $StepEntityCopyWith<$Res> { factory _$$StepEntityImplCopyWith( _$StepEntityImpl value, $Res Function(_$StepEntityImpl) then) = __$$StepEntityImplCopyWithImpl<$Res>; @override @useResult $Res call({String? description, File? image}); } /// @nodoc class __$$StepEntityImplCopyWithImpl<$Res> extends _$StepEntityCopyWithImpl<$Res, _$StepEntityImpl> implements _$$StepEntityImplCopyWith<$Res> { __$$StepEntityImplCopyWithImpl( _$StepEntityImpl _value, $Res Function(_$StepEntityImpl) _then) : super(_value, _then); /// Create a copy of StepEntity /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override $Res call({ Object? description = freezed, Object? image = freezed, }) { return _then(_$StepEntityImpl( description: freezed == description ? _value.description : description // ignore: cast_nullable_to_non_nullable as String?, image: freezed == image ? _value.image : image // ignore: cast_nullable_to_non_nullable as File?, )); } } /// @nodoc class _$StepEntityImpl extends _StepEntity { const _$StepEntityImpl({this.description, this.image}) : super._(); @override final String? description; @override final File? image; @override String toString() { return 'StepEntity(description: $description, image: $image)'; } @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$StepEntityImpl && (identical(other.description, description) || other.description == description) && (identical(other.image, image) || other.image == image)); } @override int get hashCode => Object.hash(runtimeType, description, image); /// Create a copy of StepEntity /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @override @pragma('vm:prefer-inline') _$$StepEntityImplCopyWith<_$StepEntityImpl> get copyWith => __$$StepEntityImplCopyWithImpl<_$StepEntityImpl>(this, _$identity); } abstract class _StepEntity extends StepEntity { const factory _StepEntity({final String? description, final File? image}) = _$StepEntityImpl; const _StepEntity._() : super._(); @override String? get description; @override File? get image; /// Create a copy of StepEntity /// with the given fields replaced by the non-null parameter values. @override @JsonKey(includeFromJson: false, includeToJson: false) _$$StepEntityImplCopyWith<_$StepEntityImpl> get copyWith => throw _privateConstructorUsedError; }