// 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 'create_food_details_state.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');

/// @nodoc
mixin _$CreateFoodDetailsState {
  String get title => throw _privateConstructorUsedError;
  String get description => throw _privateConstructorUsedError;
  String get tax => throw _privateConstructorUsedError;
  String get minQty => throw _privateConstructorUsedError;
  String get maxQty => throw _privateConstructorUsedError;
  String get qrcode => throw _privateConstructorUsedError;
  int get brandId => throw _privateConstructorUsedError;
  int get quantity => throw _privateConstructorUsedError;
  String get price => throw _privateConstructorUsedError;
  bool get active => throw _privateConstructorUsedError;
  bool get isCreating => throw _privateConstructorUsedError;
  String? get imageFile => throw _privateConstructorUsedError;
  ProductData? get createdProduct => throw _privateConstructorUsedError;

  @JsonKey(ignore: true)
  $CreateFoodDetailsStateCopyWith<CreateFoodDetailsState> get copyWith =>
      throw _privateConstructorUsedError;
}

/// @nodoc
abstract class $CreateFoodDetailsStateCopyWith<$Res> {
  factory $CreateFoodDetailsStateCopyWith(CreateFoodDetailsState value,
          $Res Function(CreateFoodDetailsState) then) =
      _$CreateFoodDetailsStateCopyWithImpl<$Res, CreateFoodDetailsState>;
  @useResult
  $Res call(
      {String title,
      String description,
      String tax,
      String minQty,
      String maxQty,
      String qrcode,
      int brandId,
      int quantity,
      String price,
      bool active,
      bool isCreating,
      String? imageFile,
      ProductData? createdProduct});
}

/// @nodoc
class _$CreateFoodDetailsStateCopyWithImpl<$Res,
        $Val extends CreateFoodDetailsState>
    implements $CreateFoodDetailsStateCopyWith<$Res> {
  _$CreateFoodDetailsStateCopyWithImpl(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? title = null,
    Object? description = null,
    Object? tax = null,
    Object? minQty = null,
    Object? maxQty = null,
    Object? qrcode = null,
    Object? brandId = null,
    Object? quantity = null,
    Object? price = null,
    Object? active = null,
    Object? isCreating = null,
    Object? imageFile = freezed,
    Object? createdProduct = freezed,
  }) {
    return _then(_value.copyWith(
      title: null == title
          ? _value.title
          : title // ignore: cast_nullable_to_non_nullable
              as String,
      description: null == description
          ? _value.description
          : description // ignore: cast_nullable_to_non_nullable
              as String,
      tax: null == tax
          ? _value.tax
          : tax // ignore: cast_nullable_to_non_nullable
              as String,
      minQty: null == minQty
          ? _value.minQty
          : minQty // ignore: cast_nullable_to_non_nullable
              as String,
      maxQty: null == maxQty
          ? _value.maxQty
          : maxQty // ignore: cast_nullable_to_non_nullable
              as String,
      qrcode: null == qrcode
          ? _value.qrcode
          : qrcode // ignore: cast_nullable_to_non_nullable
              as String,
      brandId: null == brandId
          ? _value.brandId
          : brandId // ignore: cast_nullable_to_non_nullable
              as int,
      quantity: null == quantity
          ? _value.quantity
          : quantity // ignore: cast_nullable_to_non_nullable
              as int,
      price: null == price
          ? _value.price
          : price // ignore: cast_nullable_to_non_nullable
              as String,
      active: null == active
          ? _value.active
          : active // ignore: cast_nullable_to_non_nullable
              as bool,
      isCreating: null == isCreating
          ? _value.isCreating
          : isCreating // ignore: cast_nullable_to_non_nullable
              as bool,
      imageFile: freezed == imageFile
          ? _value.imageFile
          : imageFile // ignore: cast_nullable_to_non_nullable
              as String?,
      createdProduct: freezed == createdProduct
          ? _value.createdProduct
          : createdProduct // ignore: cast_nullable_to_non_nullable
              as ProductData?,
    ) as $Val);
  }
}

/// @nodoc
abstract class _$$_CreateFoodDetailsStateCopyWith<$Res>
    implements $CreateFoodDetailsStateCopyWith<$Res> {
  factory _$$_CreateFoodDetailsStateCopyWith(_$_CreateFoodDetailsState value,
          $Res Function(_$_CreateFoodDetailsState) then) =
      __$$_CreateFoodDetailsStateCopyWithImpl<$Res>;
  @override
  @useResult
  $Res call(
      {String title,
      String description,
      String tax,
      String minQty,
      String maxQty,
      String qrcode,
      int brandId,
      int quantity,
      String price,
      bool active,
      bool isCreating,
      String? imageFile,
      ProductData? createdProduct});
}

/// @nodoc
class __$$_CreateFoodDetailsStateCopyWithImpl<$Res>
    extends _$CreateFoodDetailsStateCopyWithImpl<$Res,
        _$_CreateFoodDetailsState>
    implements _$$_CreateFoodDetailsStateCopyWith<$Res> {
  __$$_CreateFoodDetailsStateCopyWithImpl(_$_CreateFoodDetailsState _value,
      $Res Function(_$_CreateFoodDetailsState) _then)
      : super(_value, _then);

  @pragma('vm:prefer-inline')
  @override
  $Res call({
    Object? title = null,
    Object? description = null,
    Object? tax = null,
    Object? minQty = null,
    Object? maxQty = null,
    Object? qrcode = null,
    Object? brandId = null,
    Object? quantity = null,
    Object? price = null,
    Object? active = null,
    Object? isCreating = null,
    Object? imageFile = freezed,
    Object? createdProduct = freezed,
  }) {
    return _then(_$_CreateFoodDetailsState(
      title: null == title
          ? _value.title
          : title // ignore: cast_nullable_to_non_nullable
              as String,
      description: null == description
          ? _value.description
          : description // ignore: cast_nullable_to_non_nullable
              as String,
      tax: null == tax
          ? _value.tax
          : tax // ignore: cast_nullable_to_non_nullable
              as String,
      minQty: null == minQty
          ? _value.minQty
          : minQty // ignore: cast_nullable_to_non_nullable
              as String,
      maxQty: null == maxQty
          ? _value.maxQty
          : maxQty // ignore: cast_nullable_to_non_nullable
              as String,
      qrcode: null == qrcode
          ? _value.qrcode
          : qrcode // ignore: cast_nullable_to_non_nullable
              as String,
      brandId: null == brandId
          ? _value.brandId
          : brandId // ignore: cast_nullable_to_non_nullable
              as int,
      quantity: null == quantity
          ? _value.quantity
          : quantity // ignore: cast_nullable_to_non_nullable
              as int,
      price: null == price
          ? _value.price
          : price // ignore: cast_nullable_to_non_nullable
              as String,
      active: null == active
          ? _value.active
          : active // ignore: cast_nullable_to_non_nullable
              as bool,
      isCreating: null == isCreating
          ? _value.isCreating
          : isCreating // ignore: cast_nullable_to_non_nullable
              as bool,
      imageFile: freezed == imageFile
          ? _value.imageFile
          : imageFile // ignore: cast_nullable_to_non_nullable
              as String?,
      createdProduct: freezed == createdProduct
          ? _value.createdProduct
          : createdProduct // ignore: cast_nullable_to_non_nullable
              as ProductData?,
    ));
  }
}

/// @nodoc

class _$_CreateFoodDetailsState extends _CreateFoodDetailsState {
  const _$_CreateFoodDetailsState(
      {this.title = '',
      this.description = '',
      this.tax = '',
      this.minQty = '',
      this.maxQty = '',
      this.qrcode = '',
      this.brandId = 0,
      this.quantity = 0,
      this.price = '',
      this.active = false,
      this.isCreating = false,
      this.imageFile = '',
      this.createdProduct})
      : super._();

  @override
  @JsonKey()
  final String title;
  @override
  @JsonKey()
  final String description;
  @override
  @JsonKey()
  final String tax;
  @override
  @JsonKey()
  final String minQty;
  @override
  @JsonKey()
  final String maxQty;
  @override
  @JsonKey()
  final String qrcode;
  @override
  @JsonKey()
  final int brandId;
  @override
  @JsonKey()
  final int quantity;
  @override
  @JsonKey()
  final String price;
  @override
  @JsonKey()
  final bool active;
  @override
  @JsonKey()
  final bool isCreating;
  @override
  @JsonKey()
  final String? imageFile;
  @override
  final ProductData? createdProduct;

  @override
  String toString() {
    return 'CreateFoodDetailsState(title: $title, description: $description, tax: $tax, minQty: $minQty, maxQty: $maxQty, qrcode: $qrcode, brandId: $brandId, quantity: $quantity, price: $price, active: $active, isCreating: $isCreating, imageFile: $imageFile, createdProduct: $createdProduct)';
  }

  @override
  bool operator ==(dynamic other) {
    return identical(this, other) ||
        (other.runtimeType == runtimeType &&
            other is _$_CreateFoodDetailsState &&
            (identical(other.title, title) || other.title == title) &&
            (identical(other.description, description) ||
                other.description == description) &&
            (identical(other.tax, tax) || other.tax == tax) &&
            (identical(other.minQty, minQty) || other.minQty == minQty) &&
            (identical(other.maxQty, maxQty) || other.maxQty == maxQty) &&
            (identical(other.qrcode, qrcode) || other.qrcode == qrcode) &&
            (identical(other.brandId, brandId) || other.brandId == brandId) &&
            (identical(other.quantity, quantity) ||
                other.quantity == quantity) &&
            (identical(other.price, price) || other.price == price) &&
            (identical(other.active, active) || other.active == active) &&
            (identical(other.isCreating, isCreating) ||
                other.isCreating == isCreating) &&
            (identical(other.imageFile, imageFile) ||
                other.imageFile == imageFile) &&
            (identical(other.createdProduct, createdProduct) ||
                other.createdProduct == createdProduct));
  }

  @override
  int get hashCode => Object.hash(
      runtimeType,
      title,
      description,
      tax,
      minQty,
      maxQty,
      qrcode,
      brandId,
      quantity,
      price,
      active,
      isCreating,
      imageFile,
      createdProduct);

  @JsonKey(ignore: true)
  @override
  @pragma('vm:prefer-inline')
  _$$_CreateFoodDetailsStateCopyWith<_$_CreateFoodDetailsState> get copyWith =>
      __$$_CreateFoodDetailsStateCopyWithImpl<_$_CreateFoodDetailsState>(
          this, _$identity);
}

abstract class _CreateFoodDetailsState extends CreateFoodDetailsState {
  const factory _CreateFoodDetailsState(
      {final String title,
      final String description,
      final String tax,
      final String minQty,
      final String maxQty,
      final String qrcode,
      final int brandId,
      final int quantity,
      final String price,
      final bool active,
      final bool isCreating,
      final String? imageFile,
      final ProductData? createdProduct}) = _$_CreateFoodDetailsState;
  const _CreateFoodDetailsState._() : super._();

  @override
  String get title;
  @override
  String get description;
  @override
  String get tax;
  @override
  String get minQty;
  @override
  String get maxQty;
  @override
  String get qrcode;
  @override
  int get brandId;
  @override
  int get quantity;
  @override
  String get price;
  @override
  bool get active;
  @override
  bool get isCreating;
  @override
  String? get imageFile;
  @override
  ProductData? get createdProduct;
  @override
  @JsonKey(ignore: true)
  _$$_CreateFoodDetailsStateCopyWith<_$_CreateFoodDetailsState> get copyWith =>
      throw _privateConstructorUsedError;
}
