content: // 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 'ingredient.dart';
  
  // **************************************************************************
  // FreezedGenerator
  // **************************************************************************
  
  T _$identity<T>(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#custom-getters-and-methods');
  
  Ingredient _$IngredientFromJson(Map<String, dynamic> json) {
    return _Ingredient.fromJson(json);
  }
  
  /// @nodoc
  mixin _$Ingredient {
    int? get id => throw _privateConstructorUsedError;
    int? get recipeId => throw _privateConstructorUsedError;
    String? get name => throw _privateConstructorUsedError;
    double? get amount => throw _privateConstructorUsedError;
  
    Map<String, dynamic> toJson() => throw _privateConstructorUsedError;
    @JsonKey(ignore: true)
    $IngredientCopyWith<Ingredient> get copyWith =>
        throw _privateConstructorUsedError;
  }
  
  /// @nodoc
  abstract class $IngredientCopyWith<$Res> {
    factory $IngredientCopyWith(
            Ingredient value, $Res Function(Ingredient) then) =
        _$IngredientCopyWithImpl<$Res, Ingredient>;
    @useResult
    $Res call({int? id, int? recipeId, String? name, double? amount});
  }
  
  /// @nodoc
  class _$IngredientCopyWithImpl<$Res, $Val extends Ingredient>
      implements $IngredientCopyWith<$Res> {
    _$IngredientCopyWithImpl(this._value, this._then);
  
    // ignore: unused_field
    final $Val _value;
    // ignore: unused_field
    final $Res Function($Val) _then;
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? id = freezed,
      Object? recipeId = freezed,
      Object? name = freezed,
      Object? amount = freezed,
    }) {
      return _then(_value.copyWith(
        id: freezed == id
            ? _value.id
            : id // ignore: cast_nullable_to_non_nullable
                as int?,
        recipeId: freezed == recipeId
            ? _value.recipeId
            : recipeId // ignore: cast_nullable_to_non_nullable
                as int?,
        name: freezed == name
            ? _value.name
            : name // ignore: cast_nullable_to_non_nullable
                as String?,
        amount: freezed == amount
            ? _value.amount
            : amount // ignore: cast_nullable_to_non_nullable
                as double?,
      ) as $Val);
    }
  }
  
  /// @nodoc
  abstract class _$$_IngredientCopyWith<$Res>
      implements $IngredientCopyWith<$Res> {
    factory _$$_IngredientCopyWith(
            _$_Ingredient value, $Res Function(_$_Ingredient) then) =
        __$$_IngredientCopyWithImpl<$Res>;
    @override
    @useResult
    $Res call({int? id, int? recipeId, String? name, double? amount});
  }
  
  /// @nodoc
  class __$$_IngredientCopyWithImpl<$Res>
      extends _$IngredientCopyWithImpl<$Res, _$_Ingredient>
      implements _$$_IngredientCopyWith<$Res> {
    __$$_IngredientCopyWithImpl(
        _$_Ingredient _value, $Res Function(_$_Ingredient) _then)
        : super(_value, _then);
  
    @pragma('vm:prefer-inline')
    @override
    $Res call({
      Object? id = freezed,
      Object? recipeId = freezed,
      Object? name = freezed,
      Object? amount = freezed,
    }) {
      return _then(_$_Ingredient(
        id: freezed == id
            ? _value.id
            : id // ignore: cast_nullable_to_non_nullable
                as int?,
        recipeId: freezed == recipeId
            ? _value.recipeId
            : recipeId // ignore: cast_nullable_to_non_nullable
                as int?,
        name: freezed == name
            ? _value.name
            : name // ignore: cast_nullable_to_non_nullable
                as String?,
        amount: freezed == amount
            ? _value.amount
            : amount // ignore: cast_nullable_to_non_nullable
                as double?,
      ));
    }
  }
  
  /// @nodoc
  @JsonSerializable()
  class _$_Ingredient implements _Ingredient {
    const _$_Ingredient({this.id, this.recipeId, this.name, this.amount});
  
    factory _$_Ingredient.fromJson(Map<String, dynamic> json) =>
        _$$_IngredientFromJson(json);
  
    @override
    final int? id;
    @override
    final int? recipeId;
    @override
    final String? name;
    @override
    final double? amount;
  
    @override
    String toString() {
      return 'Ingredient(id: $id, recipeId: $recipeId, name: $name, amount: $amount)';
    }
  
    @override
    bool operator ==(dynamic other) {
      return identical(this, other) ||
          (other.runtimeType == runtimeType &&
              other is _$_Ingredient &&
              (identical(other.id, id) || other.id == id) &&
              (identical(other.recipeId, recipeId) ||
                  other.recipeId == recipeId) &&
              (identical(other.name, name) || other.name == name) &&
              (identical(other.amount, amount) || other.amount == amount));
    }
  
    @JsonKey(ignore: true)
    @override
    int get hashCode => Object.hash(runtimeType, id, recipeId, name, amount);
  
    @JsonKey(ignore: true)
    @override
    @pragma('vm:prefer-inline')
    _$$_IngredientCopyWith<_$_Ingredient> get copyWith =>
        __$$_IngredientCopyWithImpl<_$_Ingredient>(this, _$identity);
  
    @override
    Map<String, dynamic> toJson() {
      return _$$_IngredientToJson(
        this,
      );
    }
  }
  
  abstract class _Ingredient implements Ingredient {
    const factory _Ingredient(
        {final int? id,
        final int? recipeId,
        final String? name,
        final double? amount}) = _$_Ingredient;
  
    factory _Ingredient.fromJson(Map<String, dynamic> json) =
        _$_Ingredient.fromJson;
  
    @override
    int? get id;
    @override
    int? get recipeId;
    @override
    String? get name;
    @override
    double? get amount;
    @override
    @JsonKey(ignore: true)
    _$$_IngredientCopyWith<_$_Ingredient> get copyWith =>
        throw _privateConstructorUsedError;
  }
  