// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// 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 'hatching_report.dart';

// **************************************************************************
// FreezedGenerator
// **************************************************************************

// dart format off
T _$identity<T>(T value) => value;

/// @nodoc
mixin _$HatchingReport {

 int? get id; PoultryScience? get poultryScience; Hatching? get hatching; String? get key; String? get createDate; String? get modifyDate; bool? get trash; String? get date; List<String>? get image; double? get lat; double? get log; String? get reporterFullname; String? get reporterMobile; String? get createdBy; String? get modifiedBy;
/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$HatchingReportCopyWith<HatchingReport> get copyWith => _$HatchingReportCopyWithImpl<HatchingReport>(this as HatchingReport, _$identity);

  /// Serializes this HatchingReport to a JSON map.
  Map<String, dynamic> toJson();


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is HatchingReport&&(identical(other.id, id) || other.id == id)&&(identical(other.poultryScience, poultryScience) || other.poultryScience == poultryScience)&&(identical(other.hatching, hatching) || other.hatching == hatching)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.date, date) || other.date == date)&&const DeepCollectionEquality().equals(other.image, image)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.log, log) || other.log == log)&&(identical(other.reporterFullname, reporterFullname) || other.reporterFullname == reporterFullname)&&(identical(other.reporterMobile, reporterMobile) || other.reporterMobile == reporterMobile)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,id,poultryScience,hatching,key,createDate,modifyDate,trash,date,const DeepCollectionEquality().hash(image),lat,log,reporterFullname,reporterMobile,createdBy,modifiedBy);

@override
String toString() {
  return 'HatchingReport(id: $id, poultryScience: $poultryScience, hatching: $hatching, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, date: $date, image: $image, lat: $lat, log: $log, reporterFullname: $reporterFullname, reporterMobile: $reporterMobile, createdBy: $createdBy, modifiedBy: $modifiedBy)';
}


}

/// @nodoc
abstract mixin class $HatchingReportCopyWith<$Res>  {
  factory $HatchingReportCopyWith(HatchingReport value, $Res Function(HatchingReport) _then) = _$HatchingReportCopyWithImpl;
@useResult
$Res call({
 int? id, PoultryScience? poultryScience, Hatching? hatching, String? key, String? createDate, String? modifyDate, bool? trash, String? date, List<String>? image, double? lat, double? log, String? reporterFullname, String? reporterMobile, String? createdBy, String? modifiedBy
});


$PoultryScienceCopyWith<$Res>? get poultryScience;$HatchingCopyWith<$Res>? get hatching;

}
/// @nodoc
class _$HatchingReportCopyWithImpl<$Res>
    implements $HatchingReportCopyWith<$Res> {
  _$HatchingReportCopyWithImpl(this._self, this._then);

  final HatchingReport _self;
  final $Res Function(HatchingReport) _then;

/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? poultryScience = freezed,Object? hatching = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? date = freezed,Object? image = freezed,Object? lat = freezed,Object? log = freezed,Object? reporterFullname = freezed,Object? reporterMobile = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,}) {
  return _then(_self.copyWith(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,poultryScience: freezed == poultryScience ? _self.poultryScience : poultryScience // ignore: cast_nullable_to_non_nullable
as PoultryScience?,hatching: freezed == hatching ? _self.hatching : hatching // ignore: cast_nullable_to_non_nullable
as Hatching?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,image: freezed == image ? _self.image : image // ignore: cast_nullable_to_non_nullable
as List<String>?,lat: freezed == lat ? _self.lat : lat // ignore: cast_nullable_to_non_nullable
as double?,log: freezed == log ? _self.log : log // ignore: cast_nullable_to_non_nullable
as double?,reporterFullname: freezed == reporterFullname ? _self.reporterFullname : reporterFullname // ignore: cast_nullable_to_non_nullable
as String?,reporterMobile: freezed == reporterMobile ? _self.reporterMobile : reporterMobile // ignore: cast_nullable_to_non_nullable
as String?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}
/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$PoultryScienceCopyWith<$Res>? get poultryScience {
    if (_self.poultryScience == null) {
    return null;
  }

  return $PoultryScienceCopyWith<$Res>(_self.poultryScience!, (value) {
    return _then(_self.copyWith(poultryScience: value));
  });
}/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$HatchingCopyWith<$Res>? get hatching {
    if (_self.hatching == null) {
    return null;
  }

  return $HatchingCopyWith<$Res>(_self.hatching!, (value) {
    return _then(_self.copyWith(hatching: value));
  });
}
}


/// Adds pattern-matching-related methods to [HatchingReport].
extension HatchingReportPatterns on HatchingReport {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _HatchingReport value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _HatchingReport() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _HatchingReport value)  $default,){
final _that = this;
switch (_that) {
case _HatchingReport():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _HatchingReport value)?  $default,){
final _that = this;
switch (_that) {
case _HatchingReport() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( int? id,  PoultryScience? poultryScience,  Hatching? hatching,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  String? date,  List<String>? image,  double? lat,  double? log,  String? reporterFullname,  String? reporterMobile,  String? createdBy,  String? modifiedBy)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _HatchingReport() when $default != null:
return $default(_that.id,_that.poultryScience,_that.hatching,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.date,_that.image,_that.lat,_that.log,_that.reporterFullname,_that.reporterMobile,_that.createdBy,_that.modifiedBy);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( int? id,  PoultryScience? poultryScience,  Hatching? hatching,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  String? date,  List<String>? image,  double? lat,  double? log,  String? reporterFullname,  String? reporterMobile,  String? createdBy,  String? modifiedBy)  $default,) {final _that = this;
switch (_that) {
case _HatchingReport():
return $default(_that.id,_that.poultryScience,_that.hatching,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.date,_that.image,_that.lat,_that.log,_that.reporterFullname,_that.reporterMobile,_that.createdBy,_that.modifiedBy);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( int? id,  PoultryScience? poultryScience,  Hatching? hatching,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  String? date,  List<String>? image,  double? lat,  double? log,  String? reporterFullname,  String? reporterMobile,  String? createdBy,  String? modifiedBy)?  $default,) {final _that = this;
switch (_that) {
case _HatchingReport() when $default != null:
return $default(_that.id,_that.poultryScience,_that.hatching,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.date,_that.image,_that.lat,_that.log,_that.reporterFullname,_that.reporterMobile,_that.createdBy,_that.modifiedBy);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _HatchingReport implements HatchingReport {
  const _HatchingReport({this.id, this.poultryScience, this.hatching, this.key, this.createDate, this.modifyDate, this.trash, this.date, final  List<String>? image, this.lat, this.log, this.reporterFullname, this.reporterMobile, this.createdBy, this.modifiedBy}): _image = image;
  factory _HatchingReport.fromJson(Map<String, dynamic> json) => _$HatchingReportFromJson(json);

@override final  int? id;
@override final  PoultryScience? poultryScience;
@override final  Hatching? hatching;
@override final  String? key;
@override final  String? createDate;
@override final  String? modifyDate;
@override final  bool? trash;
@override final  String? date;
 final  List<String>? _image;
@override List<String>? get image {
  final value = _image;
  if (value == null) return null;
  if (_image is EqualUnmodifiableListView) return _image;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

@override final  double? lat;
@override final  double? log;
@override final  String? reporterFullname;
@override final  String? reporterMobile;
@override final  String? createdBy;
@override final  String? modifiedBy;

/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$HatchingReportCopyWith<_HatchingReport> get copyWith => __$HatchingReportCopyWithImpl<_HatchingReport>(this, _$identity);

@override
Map<String, dynamic> toJson() {
  return _$HatchingReportToJson(this, );
}

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _HatchingReport&&(identical(other.id, id) || other.id == id)&&(identical(other.poultryScience, poultryScience) || other.poultryScience == poultryScience)&&(identical(other.hatching, hatching) || other.hatching == hatching)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.date, date) || other.date == date)&&const DeepCollectionEquality().equals(other._image, _image)&&(identical(other.lat, lat) || other.lat == lat)&&(identical(other.log, log) || other.log == log)&&(identical(other.reporterFullname, reporterFullname) || other.reporterFullname == reporterFullname)&&(identical(other.reporterMobile, reporterMobile) || other.reporterMobile == reporterMobile)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,id,poultryScience,hatching,key,createDate,modifyDate,trash,date,const DeepCollectionEquality().hash(_image),lat,log,reporterFullname,reporterMobile,createdBy,modifiedBy);

@override
String toString() {
  return 'HatchingReport(id: $id, poultryScience: $poultryScience, hatching: $hatching, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, date: $date, image: $image, lat: $lat, log: $log, reporterFullname: $reporterFullname, reporterMobile: $reporterMobile, createdBy: $createdBy, modifiedBy: $modifiedBy)';
}


}

/// @nodoc
abstract mixin class _$HatchingReportCopyWith<$Res> implements $HatchingReportCopyWith<$Res> {
  factory _$HatchingReportCopyWith(_HatchingReport value, $Res Function(_HatchingReport) _then) = __$HatchingReportCopyWithImpl;
@override @useResult
$Res call({
 int? id, PoultryScience? poultryScience, Hatching? hatching, String? key, String? createDate, String? modifyDate, bool? trash, String? date, List<String>? image, double? lat, double? log, String? reporterFullname, String? reporterMobile, String? createdBy, String? modifiedBy
});


@override $PoultryScienceCopyWith<$Res>? get poultryScience;@override $HatchingCopyWith<$Res>? get hatching;

}
/// @nodoc
class __$HatchingReportCopyWithImpl<$Res>
    implements _$HatchingReportCopyWith<$Res> {
  __$HatchingReportCopyWithImpl(this._self, this._then);

  final _HatchingReport _self;
  final $Res Function(_HatchingReport) _then;

/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? poultryScience = freezed,Object? hatching = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? date = freezed,Object? image = freezed,Object? lat = freezed,Object? log = freezed,Object? reporterFullname = freezed,Object? reporterMobile = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,}) {
  return _then(_HatchingReport(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,poultryScience: freezed == poultryScience ? _self.poultryScience : poultryScience // ignore: cast_nullable_to_non_nullable
as PoultryScience?,hatching: freezed == hatching ? _self.hatching : hatching // ignore: cast_nullable_to_non_nullable
as Hatching?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,image: freezed == image ? _self._image : image // ignore: cast_nullable_to_non_nullable
as List<String>?,lat: freezed == lat ? _self.lat : lat // ignore: cast_nullable_to_non_nullable
as double?,log: freezed == log ? _self.log : log // ignore: cast_nullable_to_non_nullable
as double?,reporterFullname: freezed == reporterFullname ? _self.reporterFullname : reporterFullname // ignore: cast_nullable_to_non_nullable
as String?,reporterMobile: freezed == reporterMobile ? _self.reporterMobile : reporterMobile // ignore: cast_nullable_to_non_nullable
as String?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}

/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$PoultryScienceCopyWith<$Res>? get poultryScience {
    if (_self.poultryScience == null) {
    return null;
  }

  return $PoultryScienceCopyWith<$Res>(_self.poultryScience!, (value) {
    return _then(_self.copyWith(poultryScience: value));
  });
}/// Create a copy of HatchingReport
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$HatchingCopyWith<$Res>? get hatching {
    if (_self.hatching == null) {
    return null;
  }

  return $HatchingCopyWith<$Res>(_self.hatching!, (value) {
    return _then(_self.copyWith(hatching: value));
  });
}
}


/// @nodoc
mixin _$PoultryScience {

 int? get id; User? get user; String? get key; String? get createDate; String? get modifyDate; bool? get trash; String? get createdBy; String? get modifiedBy; List<int>? get poultry;
/// Create a copy of PoultryScience
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$PoultryScienceCopyWith<PoultryScience> get copyWith => _$PoultryScienceCopyWithImpl<PoultryScience>(this as PoultryScience, _$identity);

  /// Serializes this PoultryScience to a JSON map.
  Map<String, dynamic> toJson();


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is PoultryScience&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy)&&const DeepCollectionEquality().equals(other.poultry, poultry));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,id,user,key,createDate,modifyDate,trash,createdBy,modifiedBy,const DeepCollectionEquality().hash(poultry));

@override
String toString() {
  return 'PoultryScience(id: $id, user: $user, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, createdBy: $createdBy, modifiedBy: $modifiedBy, poultry: $poultry)';
}


}

/// @nodoc
abstract mixin class $PoultryScienceCopyWith<$Res>  {
  factory $PoultryScienceCopyWith(PoultryScience value, $Res Function(PoultryScience) _then) = _$PoultryScienceCopyWithImpl;
@useResult
$Res call({
 int? id, User? user, String? key, String? createDate, String? modifyDate, bool? trash, String? createdBy, String? modifiedBy, List<int>? poultry
});


$UserCopyWith<$Res>? get user;

}
/// @nodoc
class _$PoultryScienceCopyWithImpl<$Res>
    implements $PoultryScienceCopyWith<$Res> {
  _$PoultryScienceCopyWithImpl(this._self, this._then);

  final PoultryScience _self;
  final $Res Function(PoultryScience) _then;

/// Create a copy of PoultryScience
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? user = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? poultry = freezed,}) {
  return _then(_self.copyWith(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
as User?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
as String?,poultry: freezed == poultry ? _self.poultry : poultry // ignore: cast_nullable_to_non_nullable
as List<int>?,
  ));
}
/// Create a copy of PoultryScience
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$UserCopyWith<$Res>? get user {
    if (_self.user == null) {
    return null;
  }

  return $UserCopyWith<$Res>(_self.user!, (value) {
    return _then(_self.copyWith(user: value));
  });
}
}


/// Adds pattern-matching-related methods to [PoultryScience].
extension PoultrySciencePatterns on PoultryScience {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _PoultryScience value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _PoultryScience() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _PoultryScience value)  $default,){
final _that = this;
switch (_that) {
case _PoultryScience():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _PoultryScience value)?  $default,){
final _that = this;
switch (_that) {
case _PoultryScience() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( int? id,  User? user,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  String? createdBy,  String? modifiedBy,  List<int>? poultry)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _PoultryScience() when $default != null:
return $default(_that.id,_that.user,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.createdBy,_that.modifiedBy,_that.poultry);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( int? id,  User? user,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  String? createdBy,  String? modifiedBy,  List<int>? poultry)  $default,) {final _that = this;
switch (_that) {
case _PoultryScience():
return $default(_that.id,_that.user,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.createdBy,_that.modifiedBy,_that.poultry);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( int? id,  User? user,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  String? createdBy,  String? modifiedBy,  List<int>? poultry)?  $default,) {final _that = this;
switch (_that) {
case _PoultryScience() when $default != null:
return $default(_that.id,_that.user,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.createdBy,_that.modifiedBy,_that.poultry);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _PoultryScience implements PoultryScience {
  const _PoultryScience({this.id, this.user, this.key, this.createDate, this.modifyDate, this.trash, this.createdBy, this.modifiedBy, final  List<int>? poultry}): _poultry = poultry;
  factory _PoultryScience.fromJson(Map<String, dynamic> json) => _$PoultryScienceFromJson(json);

@override final  int? id;
@override final  User? user;
@override final  String? key;
@override final  String? createDate;
@override final  String? modifyDate;
@override final  bool? trash;
@override final  String? createdBy;
@override final  String? modifiedBy;
 final  List<int>? _poultry;
@override List<int>? get poultry {
  final value = _poultry;
  if (value == null) return null;
  if (_poultry is EqualUnmodifiableListView) return _poultry;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}


/// Create a copy of PoultryScience
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$PoultryScienceCopyWith<_PoultryScience> get copyWith => __$PoultryScienceCopyWithImpl<_PoultryScience>(this, _$identity);

@override
Map<String, dynamic> toJson() {
  return _$PoultryScienceToJson(this, );
}

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _PoultryScience&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.key, key) || other.key == key)&&(identical(other.createDate, createDate) || other.createDate == createDate)&&(identical(other.modifyDate, modifyDate) || other.modifyDate == modifyDate)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.createdBy, createdBy) || other.createdBy == createdBy)&&(identical(other.modifiedBy, modifiedBy) || other.modifiedBy == modifiedBy)&&const DeepCollectionEquality().equals(other._poultry, _poultry));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,id,user,key,createDate,modifyDate,trash,createdBy,modifiedBy,const DeepCollectionEquality().hash(_poultry));

@override
String toString() {
  return 'PoultryScience(id: $id, user: $user, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, createdBy: $createdBy, modifiedBy: $modifiedBy, poultry: $poultry)';
}


}

/// @nodoc
abstract mixin class _$PoultryScienceCopyWith<$Res> implements $PoultryScienceCopyWith<$Res> {
  factory _$PoultryScienceCopyWith(_PoultryScience value, $Res Function(_PoultryScience) _then) = __$PoultryScienceCopyWithImpl;
@override @useResult
$Res call({
 int? id, User? user, String? key, String? createDate, String? modifyDate, bool? trash, String? createdBy, String? modifiedBy, List<int>? poultry
});


@override $UserCopyWith<$Res>? get user;

}
/// @nodoc
class __$PoultryScienceCopyWithImpl<$Res>
    implements _$PoultryScienceCopyWith<$Res> {
  __$PoultryScienceCopyWithImpl(this._self, this._then);

  final _PoultryScience _self;
  final $Res Function(_PoultryScience) _then;

/// Create a copy of PoultryScience
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? user = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? poultry = freezed,}) {
  return _then(_PoultryScience(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
as User?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
as String?,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
as String?,poultry: freezed == poultry ? _self._poultry : poultry // ignore: cast_nullable_to_non_nullable
as List<int>?,
  ));
}

/// Create a copy of PoultryScience
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$UserCopyWith<$Res>? get user {
    if (_self.user == null) {
    return null;
  }

  return $UserCopyWith<$Res>(_self.user!, (value) {
    return _then(_self.copyWith(user: value));
  });
}
}


/// @nodoc
mixin _$User {

 String? get fullname; String? get mobile;
/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$UserCopyWith<User> get copyWith => _$UserCopyWithImpl<User>(this as User, _$identity);

  /// Serializes this User to a JSON map.
  Map<String, dynamic> toJson();


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.mobile, mobile) || other.mobile == mobile));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,fullname,mobile);

@override
String toString() {
  return 'User(fullname: $fullname, mobile: $mobile)';
}


}

/// @nodoc
abstract mixin class $UserCopyWith<$Res>  {
  factory $UserCopyWith(User value, $Res Function(User) _then) = _$UserCopyWithImpl;
@useResult
$Res call({
 String? fullname, String? mobile
});




}
/// @nodoc
class _$UserCopyWithImpl<$Res>
    implements $UserCopyWith<$Res> {
  _$UserCopyWithImpl(this._self, this._then);

  final User _self;
  final $Res Function(User) _then;

/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? fullname = freezed,Object? mobile = freezed,}) {
  return _then(_self.copyWith(
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}

}


/// Adds pattern-matching-related methods to [User].
extension UserPatterns on User {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _User value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _User() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _User value)  $default,){
final _that = this;
switch (_that) {
case _User():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _User value)?  $default,){
final _that = this;
switch (_that) {
case _User() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String? fullname,  String? mobile)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _User() when $default != null:
return $default(_that.fullname,_that.mobile);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String? fullname,  String? mobile)  $default,) {final _that = this;
switch (_that) {
case _User():
return $default(_that.fullname,_that.mobile);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String? fullname,  String? mobile)?  $default,) {final _that = this;
switch (_that) {
case _User() when $default != null:
return $default(_that.fullname,_that.mobile);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _User implements User {
  const _User({this.fullname, this.mobile});
  factory _User.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);

@override final  String? fullname;
@override final  String? mobile;

/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$UserCopyWith<_User> get copyWith => __$UserCopyWithImpl<_User>(this, _$identity);

@override
Map<String, dynamic> toJson() {
  return _$UserToJson(this, );
}

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.mobile, mobile) || other.mobile == mobile));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,fullname,mobile);

@override
String toString() {
  return 'User(fullname: $fullname, mobile: $mobile)';
}


}

/// @nodoc
abstract mixin class _$UserCopyWith<$Res> implements $UserCopyWith<$Res> {
  factory _$UserCopyWith(_User value, $Res Function(_User) _then) = __$UserCopyWithImpl;
@override @useResult
$Res call({
 String? fullname, String? mobile
});




}
/// @nodoc
class __$UserCopyWithImpl<$Res>
    implements _$UserCopyWith<$Res> {
  __$UserCopyWithImpl(this._self, this._then);

  final _User _self;
  final $Res Function(_User) _then;

/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? fullname = freezed,Object? mobile = freezed,}) {
  return _then(_User(
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}


}


/// @nodoc
mixin _$Hatching {

 Poultry? get poultry; GeneralInfo? get generalInfo; String? get chickenBreed; String? get date; int? get quantity; int? get leftOver; int? get period; int? get losses; bool? get violation; String? get licenceNumber; int? get chickenAge; VetFarm? get vetFarm;
/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$HatchingCopyWith<Hatching> get copyWith => _$HatchingCopyWithImpl<Hatching>(this as Hatching, _$identity);

  /// Serializes this Hatching to a JSON map.
  Map<String, dynamic> toJson();


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is Hatching&&(identical(other.poultry, poultry) || other.poultry == poultry)&&(identical(other.generalInfo, generalInfo) || other.generalInfo == generalInfo)&&(identical(other.chickenBreed, chickenBreed) || other.chickenBreed == chickenBreed)&&(identical(other.date, date) || other.date == date)&&(identical(other.quantity, quantity) || other.quantity == quantity)&&(identical(other.leftOver, leftOver) || other.leftOver == leftOver)&&(identical(other.period, period) || other.period == period)&&(identical(other.losses, losses) || other.losses == losses)&&(identical(other.violation, violation) || other.violation == violation)&&(identical(other.licenceNumber, licenceNumber) || other.licenceNumber == licenceNumber)&&(identical(other.chickenAge, chickenAge) || other.chickenAge == chickenAge)&&(identical(other.vetFarm, vetFarm) || other.vetFarm == vetFarm));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,poultry,generalInfo,chickenBreed,date,quantity,leftOver,period,losses,violation,licenceNumber,chickenAge,vetFarm);

@override
String toString() {
  return 'Hatching(poultry: $poultry, generalInfo: $generalInfo, chickenBreed: $chickenBreed, date: $date, quantity: $quantity, leftOver: $leftOver, period: $period, losses: $losses, violation: $violation, licenceNumber: $licenceNumber, chickenAge: $chickenAge, vetFarm: $vetFarm)';
}


}

/// @nodoc
abstract mixin class $HatchingCopyWith<$Res>  {
  factory $HatchingCopyWith(Hatching value, $Res Function(Hatching) _then) = _$HatchingCopyWithImpl;
@useResult
$Res call({
 Poultry? poultry, GeneralInfo? generalInfo, String? chickenBreed, String? date, int? quantity, int? leftOver, int? period, int? losses, bool? violation, String? licenceNumber, int? chickenAge, VetFarm? vetFarm
});


$PoultryCopyWith<$Res>? get poultry;$GeneralInfoCopyWith<$Res>? get generalInfo;$VetFarmCopyWith<$Res>? get vetFarm;

}
/// @nodoc
class _$HatchingCopyWithImpl<$Res>
    implements $HatchingCopyWith<$Res> {
  _$HatchingCopyWithImpl(this._self, this._then);

  final Hatching _self;
  final $Res Function(Hatching) _then;

/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? poultry = freezed,Object? generalInfo = freezed,Object? chickenBreed = freezed,Object? date = freezed,Object? quantity = freezed,Object? leftOver = freezed,Object? period = freezed,Object? losses = freezed,Object? violation = freezed,Object? licenceNumber = freezed,Object? chickenAge = freezed,Object? vetFarm = freezed,}) {
  return _then(_self.copyWith(
poultry: freezed == poultry ? _self.poultry : poultry // ignore: cast_nullable_to_non_nullable
as Poultry?,generalInfo: freezed == generalInfo ? _self.generalInfo : generalInfo // ignore: cast_nullable_to_non_nullable
as GeneralInfo?,chickenBreed: freezed == chickenBreed ? _self.chickenBreed : chickenBreed // ignore: cast_nullable_to_non_nullable
as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,quantity: freezed == quantity ? _self.quantity : quantity // ignore: cast_nullable_to_non_nullable
as int?,leftOver: freezed == leftOver ? _self.leftOver : leftOver // ignore: cast_nullable_to_non_nullable
as int?,period: freezed == period ? _self.period : period // ignore: cast_nullable_to_non_nullable
as int?,losses: freezed == losses ? _self.losses : losses // ignore: cast_nullable_to_non_nullable
as int?,violation: freezed == violation ? _self.violation : violation // ignore: cast_nullable_to_non_nullable
as bool?,licenceNumber: freezed == licenceNumber ? _self.licenceNumber : licenceNumber // ignore: cast_nullable_to_non_nullable
as String?,chickenAge: freezed == chickenAge ? _self.chickenAge : chickenAge // ignore: cast_nullable_to_non_nullable
as int?,vetFarm: freezed == vetFarm ? _self.vetFarm : vetFarm // ignore: cast_nullable_to_non_nullable
as VetFarm?,
  ));
}
/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$PoultryCopyWith<$Res>? get poultry {
    if (_self.poultry == null) {
    return null;
  }

  return $PoultryCopyWith<$Res>(_self.poultry!, (value) {
    return _then(_self.copyWith(poultry: value));
  });
}/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$GeneralInfoCopyWith<$Res>? get generalInfo {
    if (_self.generalInfo == null) {
    return null;
  }

  return $GeneralInfoCopyWith<$Res>(_self.generalInfo!, (value) {
    return _then(_self.copyWith(generalInfo: value));
  });
}/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$VetFarmCopyWith<$Res>? get vetFarm {
    if (_self.vetFarm == null) {
    return null;
  }

  return $VetFarmCopyWith<$Res>(_self.vetFarm!, (value) {
    return _then(_self.copyWith(vetFarm: value));
  });
}
}


/// Adds pattern-matching-related methods to [Hatching].
extension HatchingPatterns on Hatching {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _Hatching value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _Hatching() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _Hatching value)  $default,){
final _that = this;
switch (_that) {
case _Hatching():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _Hatching value)?  $default,){
final _that = this;
switch (_that) {
case _Hatching() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( Poultry? poultry,  GeneralInfo? generalInfo,  String? chickenBreed,  String? date,  int? quantity,  int? leftOver,  int? period,  int? losses,  bool? violation,  String? licenceNumber,  int? chickenAge,  VetFarm? vetFarm)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _Hatching() when $default != null:
return $default(_that.poultry,_that.generalInfo,_that.chickenBreed,_that.date,_that.quantity,_that.leftOver,_that.period,_that.losses,_that.violation,_that.licenceNumber,_that.chickenAge,_that.vetFarm);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( Poultry? poultry,  GeneralInfo? generalInfo,  String? chickenBreed,  String? date,  int? quantity,  int? leftOver,  int? period,  int? losses,  bool? violation,  String? licenceNumber,  int? chickenAge,  VetFarm? vetFarm)  $default,) {final _that = this;
switch (_that) {
case _Hatching():
return $default(_that.poultry,_that.generalInfo,_that.chickenBreed,_that.date,_that.quantity,_that.leftOver,_that.period,_that.losses,_that.violation,_that.licenceNumber,_that.chickenAge,_that.vetFarm);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( Poultry? poultry,  GeneralInfo? generalInfo,  String? chickenBreed,  String? date,  int? quantity,  int? leftOver,  int? period,  int? losses,  bool? violation,  String? licenceNumber,  int? chickenAge,  VetFarm? vetFarm)?  $default,) {final _that = this;
switch (_that) {
case _Hatching() when $default != null:
return $default(_that.poultry,_that.generalInfo,_that.chickenBreed,_that.date,_that.quantity,_that.leftOver,_that.period,_that.losses,_that.violation,_that.licenceNumber,_that.chickenAge,_that.vetFarm);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _Hatching implements Hatching {
  const _Hatching({this.poultry, this.generalInfo, this.chickenBreed, this.date, this.quantity, this.leftOver, this.period, this.losses, this.violation, this.licenceNumber, this.chickenAge, this.vetFarm});
  factory _Hatching.fromJson(Map<String, dynamic> json) => _$HatchingFromJson(json);

@override final  Poultry? poultry;
@override final  GeneralInfo? generalInfo;
@override final  String? chickenBreed;
@override final  String? date;
@override final  int? quantity;
@override final  int? leftOver;
@override final  int? period;
@override final  int? losses;
@override final  bool? violation;
@override final  String? licenceNumber;
@override final  int? chickenAge;
@override final  VetFarm? vetFarm;

/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$HatchingCopyWith<_Hatching> get copyWith => __$HatchingCopyWithImpl<_Hatching>(this, _$identity);

@override
Map<String, dynamic> toJson() {
  return _$HatchingToJson(this, );
}

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Hatching&&(identical(other.poultry, poultry) || other.poultry == poultry)&&(identical(other.generalInfo, generalInfo) || other.generalInfo == generalInfo)&&(identical(other.chickenBreed, chickenBreed) || other.chickenBreed == chickenBreed)&&(identical(other.date, date) || other.date == date)&&(identical(other.quantity, quantity) || other.quantity == quantity)&&(identical(other.leftOver, leftOver) || other.leftOver == leftOver)&&(identical(other.period, period) || other.period == period)&&(identical(other.losses, losses) || other.losses == losses)&&(identical(other.violation, violation) || other.violation == violation)&&(identical(other.licenceNumber, licenceNumber) || other.licenceNumber == licenceNumber)&&(identical(other.chickenAge, chickenAge) || other.chickenAge == chickenAge)&&(identical(other.vetFarm, vetFarm) || other.vetFarm == vetFarm));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,poultry,generalInfo,chickenBreed,date,quantity,leftOver,period,losses,violation,licenceNumber,chickenAge,vetFarm);

@override
String toString() {
  return 'Hatching(poultry: $poultry, generalInfo: $generalInfo, chickenBreed: $chickenBreed, date: $date, quantity: $quantity, leftOver: $leftOver, period: $period, losses: $losses, violation: $violation, licenceNumber: $licenceNumber, chickenAge: $chickenAge, vetFarm: $vetFarm)';
}


}

/// @nodoc
abstract mixin class _$HatchingCopyWith<$Res> implements $HatchingCopyWith<$Res> {
  factory _$HatchingCopyWith(_Hatching value, $Res Function(_Hatching) _then) = __$HatchingCopyWithImpl;
@override @useResult
$Res call({
 Poultry? poultry, GeneralInfo? generalInfo, String? chickenBreed, String? date, int? quantity, int? leftOver, int? period, int? losses, bool? violation, String? licenceNumber, int? chickenAge, VetFarm? vetFarm
});


@override $PoultryCopyWith<$Res>? get poultry;@override $GeneralInfoCopyWith<$Res>? get generalInfo;@override $VetFarmCopyWith<$Res>? get vetFarm;

}
/// @nodoc
class __$HatchingCopyWithImpl<$Res>
    implements _$HatchingCopyWith<$Res> {
  __$HatchingCopyWithImpl(this._self, this._then);

  final _Hatching _self;
  final $Res Function(_Hatching) _then;

/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? poultry = freezed,Object? generalInfo = freezed,Object? chickenBreed = freezed,Object? date = freezed,Object? quantity = freezed,Object? leftOver = freezed,Object? period = freezed,Object? losses = freezed,Object? violation = freezed,Object? licenceNumber = freezed,Object? chickenAge = freezed,Object? vetFarm = freezed,}) {
  return _then(_Hatching(
poultry: freezed == poultry ? _self.poultry : poultry // ignore: cast_nullable_to_non_nullable
as Poultry?,generalInfo: freezed == generalInfo ? _self.generalInfo : generalInfo // ignore: cast_nullable_to_non_nullable
as GeneralInfo?,chickenBreed: freezed == chickenBreed ? _self.chickenBreed : chickenBreed // ignore: cast_nullable_to_non_nullable
as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,quantity: freezed == quantity ? _self.quantity : quantity // ignore: cast_nullable_to_non_nullable
as int?,leftOver: freezed == leftOver ? _self.leftOver : leftOver // ignore: cast_nullable_to_non_nullable
as int?,period: freezed == period ? _self.period : period // ignore: cast_nullable_to_non_nullable
as int?,losses: freezed == losses ? _self.losses : losses // ignore: cast_nullable_to_non_nullable
as int?,violation: freezed == violation ? _self.violation : violation // ignore: cast_nullable_to_non_nullable
as bool?,licenceNumber: freezed == licenceNumber ? _self.licenceNumber : licenceNumber // ignore: cast_nullable_to_non_nullable
as String?,chickenAge: freezed == chickenAge ? _self.chickenAge : chickenAge // ignore: cast_nullable_to_non_nullable
as int?,vetFarm: freezed == vetFarm ? _self.vetFarm : vetFarm // ignore: cast_nullable_to_non_nullable
as VetFarm?,
  ));
}

/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$PoultryCopyWith<$Res>? get poultry {
    if (_self.poultry == null) {
    return null;
  }

  return $PoultryCopyWith<$Res>(_self.poultry!, (value) {
    return _then(_self.copyWith(poultry: value));
  });
}/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$GeneralInfoCopyWith<$Res>? get generalInfo {
    if (_self.generalInfo == null) {
    return null;
  }

  return $GeneralInfoCopyWith<$Res>(_self.generalInfo!, (value) {
    return _then(_self.copyWith(generalInfo: value));
  });
}/// Create a copy of Hatching
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$VetFarmCopyWith<$Res>? get vetFarm {
    if (_self.vetFarm == null) {
    return null;
  }

  return $VetFarmCopyWith<$Res>(_self.vetFarm!, (value) {
    return _then(_self.copyWith(vetFarm: value));
  });
}
}


/// @nodoc
mixin _$VetFarm {

 String? get vetFarmFullname; String? get vetFarmMobile;
/// Create a copy of VetFarm
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$VetFarmCopyWith<VetFarm> get copyWith => _$VetFarmCopyWithImpl<VetFarm>(this as VetFarm, _$identity);

  /// Serializes this VetFarm to a JSON map.
  Map<String, dynamic> toJson();


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is VetFarm&&(identical(other.vetFarmFullname, vetFarmFullname) || other.vetFarmFullname == vetFarmFullname)&&(identical(other.vetFarmMobile, vetFarmMobile) || other.vetFarmMobile == vetFarmMobile));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,vetFarmFullname,vetFarmMobile);

@override
String toString() {
  return 'VetFarm(vetFarmFullname: $vetFarmFullname, vetFarmMobile: $vetFarmMobile)';
}


}

/// @nodoc
abstract mixin class $VetFarmCopyWith<$Res>  {
  factory $VetFarmCopyWith(VetFarm value, $Res Function(VetFarm) _then) = _$VetFarmCopyWithImpl;
@useResult
$Res call({
 String? vetFarmFullname, String? vetFarmMobile
});




}
/// @nodoc
class _$VetFarmCopyWithImpl<$Res>
    implements $VetFarmCopyWith<$Res> {
  _$VetFarmCopyWithImpl(this._self, this._then);

  final VetFarm _self;
  final $Res Function(VetFarm) _then;

/// Create a copy of VetFarm
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? vetFarmFullname = freezed,Object? vetFarmMobile = freezed,}) {
  return _then(_self.copyWith(
vetFarmFullname: freezed == vetFarmFullname ? _self.vetFarmFullname : vetFarmFullname // ignore: cast_nullable_to_non_nullable
as String?,vetFarmMobile: freezed == vetFarmMobile ? _self.vetFarmMobile : vetFarmMobile // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}

}


/// Adds pattern-matching-related methods to [VetFarm].
extension VetFarmPatterns on VetFarm {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _VetFarm value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _VetFarm() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _VetFarm value)  $default,){
final _that = this;
switch (_that) {
case _VetFarm():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _VetFarm value)?  $default,){
final _that = this;
switch (_that) {
case _VetFarm() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String? vetFarmFullname,  String? vetFarmMobile)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _VetFarm() when $default != null:
return $default(_that.vetFarmFullname,_that.vetFarmMobile);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String? vetFarmFullname,  String? vetFarmMobile)  $default,) {final _that = this;
switch (_that) {
case _VetFarm():
return $default(_that.vetFarmFullname,_that.vetFarmMobile);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String? vetFarmFullname,  String? vetFarmMobile)?  $default,) {final _that = this;
switch (_that) {
case _VetFarm() when $default != null:
return $default(_that.vetFarmFullname,_that.vetFarmMobile);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _VetFarm implements VetFarm {
  const _VetFarm({this.vetFarmFullname, this.vetFarmMobile});
  factory _VetFarm.fromJson(Map<String, dynamic> json) => _$VetFarmFromJson(json);

@override final  String? vetFarmFullname;
@override final  String? vetFarmMobile;

/// Create a copy of VetFarm
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$VetFarmCopyWith<_VetFarm> get copyWith => __$VetFarmCopyWithImpl<_VetFarm>(this, _$identity);

@override
Map<String, dynamic> toJson() {
  return _$VetFarmToJson(this, );
}

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _VetFarm&&(identical(other.vetFarmFullname, vetFarmFullname) || other.vetFarmFullname == vetFarmFullname)&&(identical(other.vetFarmMobile, vetFarmMobile) || other.vetFarmMobile == vetFarmMobile));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,vetFarmFullname,vetFarmMobile);

@override
String toString() {
  return 'VetFarm(vetFarmFullname: $vetFarmFullname, vetFarmMobile: $vetFarmMobile)';
}


}

/// @nodoc
abstract mixin class _$VetFarmCopyWith<$Res> implements $VetFarmCopyWith<$Res> {
  factory _$VetFarmCopyWith(_VetFarm value, $Res Function(_VetFarm) _then) = __$VetFarmCopyWithImpl;
@override @useResult
$Res call({
 String? vetFarmFullname, String? vetFarmMobile
});




}
/// @nodoc
class __$VetFarmCopyWithImpl<$Res>
    implements _$VetFarmCopyWith<$Res> {
  __$VetFarmCopyWithImpl(this._self, this._then);

  final _VetFarm _self;
  final $Res Function(_VetFarm) _then;

/// Create a copy of VetFarm
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? vetFarmFullname = freezed,Object? vetFarmMobile = freezed,}) {
  return _then(_VetFarm(
vetFarmFullname: freezed == vetFarmFullname ? _self.vetFarmFullname : vetFarmFullname // ignore: cast_nullable_to_non_nullable
as String?,vetFarmMobile: freezed == vetFarmMobile ? _self.vetFarmMobile : vetFarmMobile // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}


}


/// @nodoc
mixin _$Poultry {

 String? get key; String? get fullname; String? get mobile; String? get city; String? get unitName; int? get killingAveAge; int? get activeLeftOver; int? get killingAveCount; double? get realKillingAveWeight; double? get realKillingLiveWeight; double? get realKillingCarcassesWeight; double? get realKillingLossWeightPercent;
/// Create a copy of Poultry
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$PoultryCopyWith<Poultry> get copyWith => _$PoultryCopyWithImpl<Poultry>(this as Poultry, _$identity);

  /// Serializes this Poultry to a JSON map.
  Map<String, dynamic> toJson();


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is Poultry&&(identical(other.key, key) || other.key == key)&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.city, city) || other.city == city)&&(identical(other.unitName, unitName) || other.unitName == unitName)&&(identical(other.killingAveAge, killingAveAge) || other.killingAveAge == killingAveAge)&&(identical(other.activeLeftOver, activeLeftOver) || other.activeLeftOver == activeLeftOver)&&(identical(other.killingAveCount, killingAveCount) || other.killingAveCount == killingAveCount)&&(identical(other.realKillingAveWeight, realKillingAveWeight) || other.realKillingAveWeight == realKillingAveWeight)&&(identical(other.realKillingLiveWeight, realKillingLiveWeight) || other.realKillingLiveWeight == realKillingLiveWeight)&&(identical(other.realKillingCarcassesWeight, realKillingCarcassesWeight) || other.realKillingCarcassesWeight == realKillingCarcassesWeight)&&(identical(other.realKillingLossWeightPercent, realKillingLossWeightPercent) || other.realKillingLossWeightPercent == realKillingLossWeightPercent));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,key,fullname,mobile,city,unitName,killingAveAge,activeLeftOver,killingAveCount,realKillingAveWeight,realKillingLiveWeight,realKillingCarcassesWeight,realKillingLossWeightPercent);

@override
String toString() {
  return 'Poultry(key: $key, fullname: $fullname, mobile: $mobile, city: $city, unitName: $unitName, killingAveAge: $killingAveAge, activeLeftOver: $activeLeftOver, killingAveCount: $killingAveCount, realKillingAveWeight: $realKillingAveWeight, realKillingLiveWeight: $realKillingLiveWeight, realKillingCarcassesWeight: $realKillingCarcassesWeight, realKillingLossWeightPercent: $realKillingLossWeightPercent)';
}


}

/// @nodoc
abstract mixin class $PoultryCopyWith<$Res>  {
  factory $PoultryCopyWith(Poultry value, $Res Function(Poultry) _then) = _$PoultryCopyWithImpl;
@useResult
$Res call({
 String? key, String? fullname, String? mobile, String? city, String? unitName, int? killingAveAge, int? activeLeftOver, int? killingAveCount, double? realKillingAveWeight, double? realKillingLiveWeight, double? realKillingCarcassesWeight, double? realKillingLossWeightPercent
});




}
/// @nodoc
class _$PoultryCopyWithImpl<$Res>
    implements $PoultryCopyWith<$Res> {
  _$PoultryCopyWithImpl(this._self, this._then);

  final Poultry _self;
  final $Res Function(Poultry) _then;

/// Create a copy of Poultry
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? key = freezed,Object? fullname = freezed,Object? mobile = freezed,Object? city = freezed,Object? unitName = freezed,Object? killingAveAge = freezed,Object? activeLeftOver = freezed,Object? killingAveCount = freezed,Object? realKillingAveWeight = freezed,Object? realKillingLiveWeight = freezed,Object? realKillingCarcassesWeight = freezed,Object? realKillingLossWeightPercent = freezed,}) {
  return _then(_self.copyWith(
key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
as String?,unitName: freezed == unitName ? _self.unitName : unitName // ignore: cast_nullable_to_non_nullable
as String?,killingAveAge: freezed == killingAveAge ? _self.killingAveAge : killingAveAge // ignore: cast_nullable_to_non_nullable
as int?,activeLeftOver: freezed == activeLeftOver ? _self.activeLeftOver : activeLeftOver // ignore: cast_nullable_to_non_nullable
as int?,killingAveCount: freezed == killingAveCount ? _self.killingAveCount : killingAveCount // ignore: cast_nullable_to_non_nullable
as int?,realKillingAveWeight: freezed == realKillingAveWeight ? _self.realKillingAveWeight : realKillingAveWeight // ignore: cast_nullable_to_non_nullable
as double?,realKillingLiveWeight: freezed == realKillingLiveWeight ? _self.realKillingLiveWeight : realKillingLiveWeight // ignore: cast_nullable_to_non_nullable
as double?,realKillingCarcassesWeight: freezed == realKillingCarcassesWeight ? _self.realKillingCarcassesWeight : realKillingCarcassesWeight // ignore: cast_nullable_to_non_nullable
as double?,realKillingLossWeightPercent: freezed == realKillingLossWeightPercent ? _self.realKillingLossWeightPercent : realKillingLossWeightPercent // ignore: cast_nullable_to_non_nullable
as double?,
  ));
}

}


/// Adds pattern-matching-related methods to [Poultry].
extension PoultryPatterns on Poultry {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _Poultry value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _Poultry() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _Poultry value)  $default,){
final _that = this;
switch (_that) {
case _Poultry():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _Poultry value)?  $default,){
final _that = this;
switch (_that) {
case _Poultry() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String? key,  String? fullname,  String? mobile,  String? city,  String? unitName,  int? killingAveAge,  int? activeLeftOver,  int? killingAveCount,  double? realKillingAveWeight,  double? realKillingLiveWeight,  double? realKillingCarcassesWeight,  double? realKillingLossWeightPercent)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _Poultry() when $default != null:
return $default(_that.key,_that.fullname,_that.mobile,_that.city,_that.unitName,_that.killingAveAge,_that.activeLeftOver,_that.killingAveCount,_that.realKillingAveWeight,_that.realKillingLiveWeight,_that.realKillingCarcassesWeight,_that.realKillingLossWeightPercent);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String? key,  String? fullname,  String? mobile,  String? city,  String? unitName,  int? killingAveAge,  int? activeLeftOver,  int? killingAveCount,  double? realKillingAveWeight,  double? realKillingLiveWeight,  double? realKillingCarcassesWeight,  double? realKillingLossWeightPercent)  $default,) {final _that = this;
switch (_that) {
case _Poultry():
return $default(_that.key,_that.fullname,_that.mobile,_that.city,_that.unitName,_that.killingAveAge,_that.activeLeftOver,_that.killingAveCount,_that.realKillingAveWeight,_that.realKillingLiveWeight,_that.realKillingCarcassesWeight,_that.realKillingLossWeightPercent);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String? key,  String? fullname,  String? mobile,  String? city,  String? unitName,  int? killingAveAge,  int? activeLeftOver,  int? killingAveCount,  double? realKillingAveWeight,  double? realKillingLiveWeight,  double? realKillingCarcassesWeight,  double? realKillingLossWeightPercent)?  $default,) {final _that = this;
switch (_that) {
case _Poultry() when $default != null:
return $default(_that.key,_that.fullname,_that.mobile,_that.city,_that.unitName,_that.killingAveAge,_that.activeLeftOver,_that.killingAveCount,_that.realKillingAveWeight,_that.realKillingLiveWeight,_that.realKillingCarcassesWeight,_that.realKillingLossWeightPercent);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _Poultry implements Poultry {
  const _Poultry({this.key, this.fullname, this.mobile, this.city, this.unitName, this.killingAveAge, this.activeLeftOver, this.killingAveCount, this.realKillingAveWeight, this.realKillingLiveWeight, this.realKillingCarcassesWeight, this.realKillingLossWeightPercent});
  factory _Poultry.fromJson(Map<String, dynamic> json) => _$PoultryFromJson(json);

@override final  String? key;
@override final  String? fullname;
@override final  String? mobile;
@override final  String? city;
@override final  String? unitName;
@override final  int? killingAveAge;
@override final  int? activeLeftOver;
@override final  int? killingAveCount;
@override final  double? realKillingAveWeight;
@override final  double? realKillingLiveWeight;
@override final  double? realKillingCarcassesWeight;
@override final  double? realKillingLossWeightPercent;

/// Create a copy of Poultry
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$PoultryCopyWith<_Poultry> get copyWith => __$PoultryCopyWithImpl<_Poultry>(this, _$identity);

@override
Map<String, dynamic> toJson() {
  return _$PoultryToJson(this, );
}

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Poultry&&(identical(other.key, key) || other.key == key)&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.city, city) || other.city == city)&&(identical(other.unitName, unitName) || other.unitName == unitName)&&(identical(other.killingAveAge, killingAveAge) || other.killingAveAge == killingAveAge)&&(identical(other.activeLeftOver, activeLeftOver) || other.activeLeftOver == activeLeftOver)&&(identical(other.killingAveCount, killingAveCount) || other.killingAveCount == killingAveCount)&&(identical(other.realKillingAveWeight, realKillingAveWeight) || other.realKillingAveWeight == realKillingAveWeight)&&(identical(other.realKillingLiveWeight, realKillingLiveWeight) || other.realKillingLiveWeight == realKillingLiveWeight)&&(identical(other.realKillingCarcassesWeight, realKillingCarcassesWeight) || other.realKillingCarcassesWeight == realKillingCarcassesWeight)&&(identical(other.realKillingLossWeightPercent, realKillingLossWeightPercent) || other.realKillingLossWeightPercent == realKillingLossWeightPercent));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,key,fullname,mobile,city,unitName,killingAveAge,activeLeftOver,killingAveCount,realKillingAveWeight,realKillingLiveWeight,realKillingCarcassesWeight,realKillingLossWeightPercent);

@override
String toString() {
  return 'Poultry(key: $key, fullname: $fullname, mobile: $mobile, city: $city, unitName: $unitName, killingAveAge: $killingAveAge, activeLeftOver: $activeLeftOver, killingAveCount: $killingAveCount, realKillingAveWeight: $realKillingAveWeight, realKillingLiveWeight: $realKillingLiveWeight, realKillingCarcassesWeight: $realKillingCarcassesWeight, realKillingLossWeightPercent: $realKillingLossWeightPercent)';
}


}

/// @nodoc
abstract mixin class _$PoultryCopyWith<$Res> implements $PoultryCopyWith<$Res> {
  factory _$PoultryCopyWith(_Poultry value, $Res Function(_Poultry) _then) = __$PoultryCopyWithImpl;
@override @useResult
$Res call({
 String? key, String? fullname, String? mobile, String? city, String? unitName, int? killingAveAge, int? activeLeftOver, int? killingAveCount, double? realKillingAveWeight, double? realKillingLiveWeight, double? realKillingCarcassesWeight, double? realKillingLossWeightPercent
});




}
/// @nodoc
class __$PoultryCopyWithImpl<$Res>
    implements _$PoultryCopyWith<$Res> {
  __$PoultryCopyWithImpl(this._self, this._then);

  final _Poultry _self;
  final $Res Function(_Poultry) _then;

/// Create a copy of Poultry
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? key = freezed,Object? fullname = freezed,Object? mobile = freezed,Object? city = freezed,Object? unitName = freezed,Object? killingAveAge = freezed,Object? activeLeftOver = freezed,Object? killingAveCount = freezed,Object? realKillingAveWeight = freezed,Object? realKillingLiveWeight = freezed,Object? realKillingCarcassesWeight = freezed,Object? realKillingLossWeightPercent = freezed,}) {
  return _then(_Poultry(
key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
as String?,unitName: freezed == unitName ? _self.unitName : unitName // ignore: cast_nullable_to_non_nullable
as String?,killingAveAge: freezed == killingAveAge ? _self.killingAveAge : killingAveAge // ignore: cast_nullable_to_non_nullable
as int?,activeLeftOver: freezed == activeLeftOver ? _self.activeLeftOver : activeLeftOver // ignore: cast_nullable_to_non_nullable
as int?,killingAveCount: freezed == killingAveCount ? _self.killingAveCount : killingAveCount // ignore: cast_nullable_to_non_nullable
as int?,realKillingAveWeight: freezed == realKillingAveWeight ? _self.realKillingAveWeight : realKillingAveWeight // ignore: cast_nullable_to_non_nullable
as double?,realKillingLiveWeight: freezed == realKillingLiveWeight ? _self.realKillingLiveWeight : realKillingLiveWeight // ignore: cast_nullable_to_non_nullable
as double?,realKillingCarcassesWeight: freezed == realKillingCarcassesWeight ? _self.realKillingCarcassesWeight : realKillingCarcassesWeight // ignore: cast_nullable_to_non_nullable
as double?,realKillingLossWeightPercent: freezed == realKillingLossWeightPercent ? _self.realKillingLossWeightPercent : realKillingLossWeightPercent // ignore: cast_nullable_to_non_nullable
as double?,
  ));
}


}


/// @nodoc
mixin _$GeneralInfo {

 int? get aveAge; int? get age; double? get aveWeight; int? get provinceKillRequests; int? get provinceKillRequestsQuantity; double? get provinceKillRequestsWeight; int? get killHouseRequestsQuantity; int? get killHouseRequests; double? get killHouseRequestsWeight; int? get totalQuantity; double? get totalWeight;
/// Create a copy of GeneralInfo
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$GeneralInfoCopyWith<GeneralInfo> get copyWith => _$GeneralInfoCopyWithImpl<GeneralInfo>(this as GeneralInfo, _$identity);

  /// Serializes this GeneralInfo to a JSON map.
  Map<String, dynamic> toJson();


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is GeneralInfo&&(identical(other.aveAge, aveAge) || other.aveAge == aveAge)&&(identical(other.age, age) || other.age == age)&&(identical(other.aveWeight, aveWeight) || other.aveWeight == aveWeight)&&(identical(other.provinceKillRequests, provinceKillRequests) || other.provinceKillRequests == provinceKillRequests)&&(identical(other.provinceKillRequestsQuantity, provinceKillRequestsQuantity) || other.provinceKillRequestsQuantity == provinceKillRequestsQuantity)&&(identical(other.provinceKillRequestsWeight, provinceKillRequestsWeight) || other.provinceKillRequestsWeight == provinceKillRequestsWeight)&&(identical(other.killHouseRequestsQuantity, killHouseRequestsQuantity) || other.killHouseRequestsQuantity == killHouseRequestsQuantity)&&(identical(other.killHouseRequests, killHouseRequests) || other.killHouseRequests == killHouseRequests)&&(identical(other.killHouseRequestsWeight, killHouseRequestsWeight) || other.killHouseRequestsWeight == killHouseRequestsWeight)&&(identical(other.totalQuantity, totalQuantity) || other.totalQuantity == totalQuantity)&&(identical(other.totalWeight, totalWeight) || other.totalWeight == totalWeight));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,aveAge,age,aveWeight,provinceKillRequests,provinceKillRequestsQuantity,provinceKillRequestsWeight,killHouseRequestsQuantity,killHouseRequests,killHouseRequestsWeight,totalQuantity,totalWeight);

@override
String toString() {
  return 'GeneralInfo(aveAge: $aveAge, age: $age, aveWeight: $aveWeight, provinceKillRequests: $provinceKillRequests, provinceKillRequestsQuantity: $provinceKillRequestsQuantity, provinceKillRequestsWeight: $provinceKillRequestsWeight, killHouseRequestsQuantity: $killHouseRequestsQuantity, killHouseRequests: $killHouseRequests, killHouseRequestsWeight: $killHouseRequestsWeight, totalQuantity: $totalQuantity, totalWeight: $totalWeight)';
}


}

/// @nodoc
abstract mixin class $GeneralInfoCopyWith<$Res>  {
  factory $GeneralInfoCopyWith(GeneralInfo value, $Res Function(GeneralInfo) _then) = _$GeneralInfoCopyWithImpl;
@useResult
$Res call({
 int? aveAge, int? age, double? aveWeight, int? provinceKillRequests, int? provinceKillRequestsQuantity, double? provinceKillRequestsWeight, int? killHouseRequestsQuantity, int? killHouseRequests, double? killHouseRequestsWeight, int? totalQuantity, double? totalWeight
});




}
/// @nodoc
class _$GeneralInfoCopyWithImpl<$Res>
    implements $GeneralInfoCopyWith<$Res> {
  _$GeneralInfoCopyWithImpl(this._self, this._then);

  final GeneralInfo _self;
  final $Res Function(GeneralInfo) _then;

/// Create a copy of GeneralInfo
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? aveAge = freezed,Object? age = freezed,Object? aveWeight = freezed,Object? provinceKillRequests = freezed,Object? provinceKillRequestsQuantity = freezed,Object? provinceKillRequestsWeight = freezed,Object? killHouseRequestsQuantity = freezed,Object? killHouseRequests = freezed,Object? killHouseRequestsWeight = freezed,Object? totalQuantity = freezed,Object? totalWeight = freezed,}) {
  return _then(_self.copyWith(
aveAge: freezed == aveAge ? _self.aveAge : aveAge // ignore: cast_nullable_to_non_nullable
as int?,age: freezed == age ? _self.age : age // ignore: cast_nullable_to_non_nullable
as int?,aveWeight: freezed == aveWeight ? _self.aveWeight : aveWeight // ignore: cast_nullable_to_non_nullable
as double?,provinceKillRequests: freezed == provinceKillRequests ? _self.provinceKillRequests : provinceKillRequests // ignore: cast_nullable_to_non_nullable
as int?,provinceKillRequestsQuantity: freezed == provinceKillRequestsQuantity ? _self.provinceKillRequestsQuantity : provinceKillRequestsQuantity // ignore: cast_nullable_to_non_nullable
as int?,provinceKillRequestsWeight: freezed == provinceKillRequestsWeight ? _self.provinceKillRequestsWeight : provinceKillRequestsWeight // ignore: cast_nullable_to_non_nullable
as double?,killHouseRequestsQuantity: freezed == killHouseRequestsQuantity ? _self.killHouseRequestsQuantity : killHouseRequestsQuantity // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequests: freezed == killHouseRequests ? _self.killHouseRequests : killHouseRequests // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequestsWeight: freezed == killHouseRequestsWeight ? _self.killHouseRequestsWeight : killHouseRequestsWeight // ignore: cast_nullable_to_non_nullable
as double?,totalQuantity: freezed == totalQuantity ? _self.totalQuantity : totalQuantity // ignore: cast_nullable_to_non_nullable
as int?,totalWeight: freezed == totalWeight ? _self.totalWeight : totalWeight // ignore: cast_nullable_to_non_nullable
as double?,
  ));
}

}


/// Adds pattern-matching-related methods to [GeneralInfo].
extension GeneralInfoPatterns on GeneralInfo {
/// A variant of `map` that fallback to returning `orElse`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeMap<TResult extends Object?>(TResult Function( _GeneralInfo value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _GeneralInfo() when $default != null:
return $default(_that);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// Callbacks receives the raw object, upcasted.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case final Subclass2 value:
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult map<TResult extends Object?>(TResult Function( _GeneralInfo value)  $default,){
final _that = this;
switch (_that) {
case _GeneralInfo():
return $default(_that);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `map` that fallback to returning `null`.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case final Subclass value:
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? mapOrNull<TResult extends Object?>(TResult? Function( _GeneralInfo value)?  $default,){
final _that = this;
switch (_that) {
case _GeneralInfo() when $default != null:
return $default(_that);case _:
  return null;

}
}
/// A variant of `when` that fallback to an `orElse` callback.
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return orElse();
/// }
/// ```

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( int? aveAge,  int? age,  double? aveWeight,  int? provinceKillRequests,  int? provinceKillRequestsQuantity,  double? provinceKillRequestsWeight,  int? killHouseRequestsQuantity,  int? killHouseRequests,  double? killHouseRequestsWeight,  int? totalQuantity,  double? totalWeight)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _GeneralInfo() when $default != null:
return $default(_that.aveAge,_that.age,_that.aveWeight,_that.provinceKillRequests,_that.provinceKillRequestsQuantity,_that.provinceKillRequestsWeight,_that.killHouseRequestsQuantity,_that.killHouseRequests,_that.killHouseRequestsWeight,_that.totalQuantity,_that.totalWeight);case _:
  return orElse();

}
}
/// A `switch`-like method, using callbacks.
///
/// As opposed to `map`, this offers destructuring.
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case Subclass2(:final field2):
///     return ...;
/// }
/// ```

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( int? aveAge,  int? age,  double? aveWeight,  int? provinceKillRequests,  int? provinceKillRequestsQuantity,  double? provinceKillRequestsWeight,  int? killHouseRequestsQuantity,  int? killHouseRequests,  double? killHouseRequestsWeight,  int? totalQuantity,  double? totalWeight)  $default,) {final _that = this;
switch (_that) {
case _GeneralInfo():
return $default(_that.aveAge,_that.age,_that.aveWeight,_that.provinceKillRequests,_that.provinceKillRequestsQuantity,_that.provinceKillRequestsWeight,_that.killHouseRequestsQuantity,_that.killHouseRequests,_that.killHouseRequestsWeight,_that.totalQuantity,_that.totalWeight);case _:
  throw StateError('Unexpected subclass');

}
}
/// A variant of `when` that fallback to returning `null`
///
/// It is equivalent to doing:
/// ```dart
/// switch (sealedClass) {
///   case Subclass(:final field):
///     return ...;
///   case _:
///     return null;
/// }
/// ```

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( int? aveAge,  int? age,  double? aveWeight,  int? provinceKillRequests,  int? provinceKillRequestsQuantity,  double? provinceKillRequestsWeight,  int? killHouseRequestsQuantity,  int? killHouseRequests,  double? killHouseRequestsWeight,  int? totalQuantity,  double? totalWeight)?  $default,) {final _that = this;
switch (_that) {
case _GeneralInfo() when $default != null:
return $default(_that.aveAge,_that.age,_that.aveWeight,_that.provinceKillRequests,_that.provinceKillRequestsQuantity,_that.provinceKillRequestsWeight,_that.killHouseRequestsQuantity,_that.killHouseRequests,_that.killHouseRequestsWeight,_that.totalQuantity,_that.totalWeight);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _GeneralInfo implements GeneralInfo {
  const _GeneralInfo({this.aveAge, this.age, this.aveWeight, this.provinceKillRequests, this.provinceKillRequestsQuantity, this.provinceKillRequestsWeight, this.killHouseRequestsQuantity, this.killHouseRequests, this.killHouseRequestsWeight, this.totalQuantity, this.totalWeight});
  factory _GeneralInfo.fromJson(Map<String, dynamic> json) => _$GeneralInfoFromJson(json);

@override final  int? aveAge;
@override final  int? age;
@override final  double? aveWeight;
@override final  int? provinceKillRequests;
@override final  int? provinceKillRequestsQuantity;
@override final  double? provinceKillRequestsWeight;
@override final  int? killHouseRequestsQuantity;
@override final  int? killHouseRequests;
@override final  double? killHouseRequestsWeight;
@override final  int? totalQuantity;
@override final  double? totalWeight;

/// Create a copy of GeneralInfo
/// with the given fields replaced by the non-null parameter values.
@override @JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
_$GeneralInfoCopyWith<_GeneralInfo> get copyWith => __$GeneralInfoCopyWithImpl<_GeneralInfo>(this, _$identity);

@override
Map<String, dynamic> toJson() {
  return _$GeneralInfoToJson(this, );
}

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _GeneralInfo&&(identical(other.aveAge, aveAge) || other.aveAge == aveAge)&&(identical(other.age, age) || other.age == age)&&(identical(other.aveWeight, aveWeight) || other.aveWeight == aveWeight)&&(identical(other.provinceKillRequests, provinceKillRequests) || other.provinceKillRequests == provinceKillRequests)&&(identical(other.provinceKillRequestsQuantity, provinceKillRequestsQuantity) || other.provinceKillRequestsQuantity == provinceKillRequestsQuantity)&&(identical(other.provinceKillRequestsWeight, provinceKillRequestsWeight) || other.provinceKillRequestsWeight == provinceKillRequestsWeight)&&(identical(other.killHouseRequestsQuantity, killHouseRequestsQuantity) || other.killHouseRequestsQuantity == killHouseRequestsQuantity)&&(identical(other.killHouseRequests, killHouseRequests) || other.killHouseRequests == killHouseRequests)&&(identical(other.killHouseRequestsWeight, killHouseRequestsWeight) || other.killHouseRequestsWeight == killHouseRequestsWeight)&&(identical(other.totalQuantity, totalQuantity) || other.totalQuantity == totalQuantity)&&(identical(other.totalWeight, totalWeight) || other.totalWeight == totalWeight));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,aveAge,age,aveWeight,provinceKillRequests,provinceKillRequestsQuantity,provinceKillRequestsWeight,killHouseRequestsQuantity,killHouseRequests,killHouseRequestsWeight,totalQuantity,totalWeight);

@override
String toString() {
  return 'GeneralInfo(aveAge: $aveAge, age: $age, aveWeight: $aveWeight, provinceKillRequests: $provinceKillRequests, provinceKillRequestsQuantity: $provinceKillRequestsQuantity, provinceKillRequestsWeight: $provinceKillRequestsWeight, killHouseRequestsQuantity: $killHouseRequestsQuantity, killHouseRequests: $killHouseRequests, killHouseRequestsWeight: $killHouseRequestsWeight, totalQuantity: $totalQuantity, totalWeight: $totalWeight)';
}


}

/// @nodoc
abstract mixin class _$GeneralInfoCopyWith<$Res> implements $GeneralInfoCopyWith<$Res> {
  factory _$GeneralInfoCopyWith(_GeneralInfo value, $Res Function(_GeneralInfo) _then) = __$GeneralInfoCopyWithImpl;
@override @useResult
$Res call({
 int? aveAge, int? age, double? aveWeight, int? provinceKillRequests, int? provinceKillRequestsQuantity, double? provinceKillRequestsWeight, int? killHouseRequestsQuantity, int? killHouseRequests, double? killHouseRequestsWeight, int? totalQuantity, double? totalWeight
});




}
/// @nodoc
class __$GeneralInfoCopyWithImpl<$Res>
    implements _$GeneralInfoCopyWith<$Res> {
  __$GeneralInfoCopyWithImpl(this._self, this._then);

  final _GeneralInfo _self;
  final $Res Function(_GeneralInfo) _then;

/// Create a copy of GeneralInfo
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? aveAge = freezed,Object? age = freezed,Object? aveWeight = freezed,Object? provinceKillRequests = freezed,Object? provinceKillRequestsQuantity = freezed,Object? provinceKillRequestsWeight = freezed,Object? killHouseRequestsQuantity = freezed,Object? killHouseRequests = freezed,Object? killHouseRequestsWeight = freezed,Object? totalQuantity = freezed,Object? totalWeight = freezed,}) {
  return _then(_GeneralInfo(
aveAge: freezed == aveAge ? _self.aveAge : aveAge // ignore: cast_nullable_to_non_nullable
as int?,age: freezed == age ? _self.age : age // ignore: cast_nullable_to_non_nullable
as int?,aveWeight: freezed == aveWeight ? _self.aveWeight : aveWeight // ignore: cast_nullable_to_non_nullable
as double?,provinceKillRequests: freezed == provinceKillRequests ? _self.provinceKillRequests : provinceKillRequests // ignore: cast_nullable_to_non_nullable
as int?,provinceKillRequestsQuantity: freezed == provinceKillRequestsQuantity ? _self.provinceKillRequestsQuantity : provinceKillRequestsQuantity // ignore: cast_nullable_to_non_nullable
as int?,provinceKillRequestsWeight: freezed == provinceKillRequestsWeight ? _self.provinceKillRequestsWeight : provinceKillRequestsWeight // ignore: cast_nullable_to_non_nullable
as double?,killHouseRequestsQuantity: freezed == killHouseRequestsQuantity ? _self.killHouseRequestsQuantity : killHouseRequestsQuantity // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequests: freezed == killHouseRequests ? _self.killHouseRequests : killHouseRequests // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequestsWeight: freezed == killHouseRequestsWeight ? _self.killHouseRequestsWeight : killHouseRequestsWeight // ignore: cast_nullable_to_non_nullable
as double?,totalQuantity: freezed == totalQuantity ? _self.totalQuantity : totalQuantity // ignore: cast_nullable_to_non_nullable
as int?,totalWeight: freezed == totalWeight ? _self.totalWeight : totalWeight // ignore: cast_nullable_to_non_nullable
as double?,
  ));
}


}

// dart format on
