// 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_details.dart';

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

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

/// @nodoc
mixin _$HatchingDetails {

 int? get id; String? get chainCompany; int? get age; dynamic get inspectionLosses; VetFarm? get vetFarm; ActiveKill? get activeKill; KillingInfo? get killingInfo; FreeGovernmentalInfo? get freeGovernmentalInfo; String? get key; DateTime? get createDate; DateTime? get modifyDate; bool? get trash; bool? get hasChainCompany; dynamic get poultryIdForeignKey; dynamic get poultryHatchingIdKey; int? get quantity; int? get losses; int? get leftOver; int? get killedQuantity; int? get extraKilledQuantity; double? get governmentalKilledQuantity; double? get governmentalQuantity; double? get freeKilledQuantity; double? get freeQuantity; double? get chainKilledQuantity; double? get chainKilledWeight; double? get outProvinceKilledWeight; double? get outProvinceKilledQuantity; double? get exportKilledWeight; double? get exportKilledQuantity; double? get totalCommitment; String? get commitmentType; double? get totalCommitmentQuantity; double? get totalFreeCommitmentQuantity; double? get totalFreeCommitmentWeight; double? get totalKilledWeight; double? get totalAverageKilledWeight; int? get requestLeftOver; int? get hall; DateTime? get date; DateTime? get predicateDate; String? get chickenBreed; int? get period; String? get allowHatching; String? get state; bool? get archive; bool? get violation; dynamic get message; dynamic get registrar; List<Breed>? get breed; int? get cityNumber; String? get cityName; int? get provinceNumber; String? get provinceName; LastChange? get lastChange; int? get chickenAge; int? get nowAge; LatestHatchingChange? get latestHatchingChange; dynamic get violationReport; String? get violationMessage; dynamic get violationImage; dynamic get violationReporter; dynamic get violationReportDate; dynamic get violationReportEditor; dynamic get violationReportEditDate; int? get totalLosses; int? get directLosses; dynamic get directLossesInputer; dynamic get directLossesDate; dynamic get directLossesEditor; dynamic get directLossesLastEditDate; dynamic get endPeriodLossesInputer; dynamic get endPeriodLossesDate; dynamic get endPeriodLossesEditor; dynamic get endPeriodLossesLastEditDate; String? get breedingUniqueId; String? get licenceNumber; bool? get temporaryTrash; bool? get temporaryDeleted; dynamic get firstDateInputArchive; dynamic get secondDateInputArchive; dynamic get inputArchiver; dynamic get outputArchiveDate; dynamic get outputArchiver; double? get barDifferenceRequestWeight; double? get barDifferenceRequestQuantity; dynamic get healthCertificate; int? get samasatDischargePercentage; String? get personTypeName; String? get interactTypeName; String? get unionTypeName; String? get certId; int? get increaseQuantity; dynamic get tenantFullname; dynamic get tenantNationalCode; dynamic get tenantMobile; dynamic get tenantCity; bool? get hasTenant; dynamic get createdBy; dynamic get modifiedBy; int? get poultry;
/// Create a copy of HatchingDetails
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$HatchingDetailsCopyWith<HatchingDetails> get copyWith => _$HatchingDetailsCopyWithImpl<HatchingDetails>(this as HatchingDetails, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is HatchingDetails&&(identical(other.id, id) || other.id == id)&&(identical(other.chainCompany, chainCompany) || other.chainCompany == chainCompany)&&(identical(other.age, age) || other.age == age)&&const DeepCollectionEquality().equals(other.inspectionLosses, inspectionLosses)&&(identical(other.vetFarm, vetFarm) || other.vetFarm == vetFarm)&&(identical(other.activeKill, activeKill) || other.activeKill == activeKill)&&(identical(other.killingInfo, killingInfo) || other.killingInfo == killingInfo)&&(identical(other.freeGovernmentalInfo, freeGovernmentalInfo) || other.freeGovernmentalInfo == freeGovernmentalInfo)&&(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.hasChainCompany, hasChainCompany) || other.hasChainCompany == hasChainCompany)&&const DeepCollectionEquality().equals(other.poultryIdForeignKey, poultryIdForeignKey)&&const DeepCollectionEquality().equals(other.poultryHatchingIdKey, poultryHatchingIdKey)&&(identical(other.quantity, quantity) || other.quantity == quantity)&&(identical(other.losses, losses) || other.losses == losses)&&(identical(other.leftOver, leftOver) || other.leftOver == leftOver)&&(identical(other.killedQuantity, killedQuantity) || other.killedQuantity == killedQuantity)&&(identical(other.extraKilledQuantity, extraKilledQuantity) || other.extraKilledQuantity == extraKilledQuantity)&&(identical(other.governmentalKilledQuantity, governmentalKilledQuantity) || other.governmentalKilledQuantity == governmentalKilledQuantity)&&(identical(other.governmentalQuantity, governmentalQuantity) || other.governmentalQuantity == governmentalQuantity)&&(identical(other.freeKilledQuantity, freeKilledQuantity) || other.freeKilledQuantity == freeKilledQuantity)&&(identical(other.freeQuantity, freeQuantity) || other.freeQuantity == freeQuantity)&&(identical(other.chainKilledQuantity, chainKilledQuantity) || other.chainKilledQuantity == chainKilledQuantity)&&(identical(other.chainKilledWeight, chainKilledWeight) || other.chainKilledWeight == chainKilledWeight)&&(identical(other.outProvinceKilledWeight, outProvinceKilledWeight) || other.outProvinceKilledWeight == outProvinceKilledWeight)&&(identical(other.outProvinceKilledQuantity, outProvinceKilledQuantity) || other.outProvinceKilledQuantity == outProvinceKilledQuantity)&&(identical(other.exportKilledWeight, exportKilledWeight) || other.exportKilledWeight == exportKilledWeight)&&(identical(other.exportKilledQuantity, exportKilledQuantity) || other.exportKilledQuantity == exportKilledQuantity)&&(identical(other.totalCommitment, totalCommitment) || other.totalCommitment == totalCommitment)&&(identical(other.commitmentType, commitmentType) || other.commitmentType == commitmentType)&&(identical(other.totalCommitmentQuantity, totalCommitmentQuantity) || other.totalCommitmentQuantity == totalCommitmentQuantity)&&(identical(other.totalFreeCommitmentQuantity, totalFreeCommitmentQuantity) || other.totalFreeCommitmentQuantity == totalFreeCommitmentQuantity)&&(identical(other.totalFreeCommitmentWeight, totalFreeCommitmentWeight) || other.totalFreeCommitmentWeight == totalFreeCommitmentWeight)&&(identical(other.totalKilledWeight, totalKilledWeight) || other.totalKilledWeight == totalKilledWeight)&&(identical(other.totalAverageKilledWeight, totalAverageKilledWeight) || other.totalAverageKilledWeight == totalAverageKilledWeight)&&(identical(other.requestLeftOver, requestLeftOver) || other.requestLeftOver == requestLeftOver)&&(identical(other.hall, hall) || other.hall == hall)&&(identical(other.date, date) || other.date == date)&&(identical(other.predicateDate, predicateDate) || other.predicateDate == predicateDate)&&(identical(other.chickenBreed, chickenBreed) || other.chickenBreed == chickenBreed)&&(identical(other.period, period) || other.period == period)&&(identical(other.allowHatching, allowHatching) || other.allowHatching == allowHatching)&&(identical(other.state, state) || other.state == state)&&(identical(other.archive, archive) || other.archive == archive)&&(identical(other.violation, violation) || other.violation == violation)&&const DeepCollectionEquality().equals(other.message, message)&&const DeepCollectionEquality().equals(other.registrar, registrar)&&const DeepCollectionEquality().equals(other.breed, breed)&&(identical(other.cityNumber, cityNumber) || other.cityNumber == cityNumber)&&(identical(other.cityName, cityName) || other.cityName == cityName)&&(identical(other.provinceNumber, provinceNumber) || other.provinceNumber == provinceNumber)&&(identical(other.provinceName, provinceName) || other.provinceName == provinceName)&&(identical(other.lastChange, lastChange) || other.lastChange == lastChange)&&(identical(other.chickenAge, chickenAge) || other.chickenAge == chickenAge)&&(identical(other.nowAge, nowAge) || other.nowAge == nowAge)&&(identical(other.latestHatchingChange, latestHatchingChange) || other.latestHatchingChange == latestHatchingChange)&&const DeepCollectionEquality().equals(other.violationReport, violationReport)&&(identical(other.violationMessage, violationMessage) || other.violationMessage == violationMessage)&&const DeepCollectionEquality().equals(other.violationImage, violationImage)&&const DeepCollectionEquality().equals(other.violationReporter, violationReporter)&&const DeepCollectionEquality().equals(other.violationReportDate, violationReportDate)&&const DeepCollectionEquality().equals(other.violationReportEditor, violationReportEditor)&&const DeepCollectionEquality().equals(other.violationReportEditDate, violationReportEditDate)&&(identical(other.totalLosses, totalLosses) || other.totalLosses == totalLosses)&&(identical(other.directLosses, directLosses) || other.directLosses == directLosses)&&const DeepCollectionEquality().equals(other.directLossesInputer, directLossesInputer)&&const DeepCollectionEquality().equals(other.directLossesDate, directLossesDate)&&const DeepCollectionEquality().equals(other.directLossesEditor, directLossesEditor)&&const DeepCollectionEquality().equals(other.directLossesLastEditDate, directLossesLastEditDate)&&const DeepCollectionEquality().equals(other.endPeriodLossesInputer, endPeriodLossesInputer)&&const DeepCollectionEquality().equals(other.endPeriodLossesDate, endPeriodLossesDate)&&const DeepCollectionEquality().equals(other.endPeriodLossesEditor, endPeriodLossesEditor)&&const DeepCollectionEquality().equals(other.endPeriodLossesLastEditDate, endPeriodLossesLastEditDate)&&(identical(other.breedingUniqueId, breedingUniqueId) || other.breedingUniqueId == breedingUniqueId)&&(identical(other.licenceNumber, licenceNumber) || other.licenceNumber == licenceNumber)&&(identical(other.temporaryTrash, temporaryTrash) || other.temporaryTrash == temporaryTrash)&&(identical(other.temporaryDeleted, temporaryDeleted) || other.temporaryDeleted == temporaryDeleted)&&const DeepCollectionEquality().equals(other.firstDateInputArchive, firstDateInputArchive)&&const DeepCollectionEquality().equals(other.secondDateInputArchive, secondDateInputArchive)&&const DeepCollectionEquality().equals(other.inputArchiver, inputArchiver)&&const DeepCollectionEquality().equals(other.outputArchiveDate, outputArchiveDate)&&const DeepCollectionEquality().equals(other.outputArchiver, outputArchiver)&&(identical(other.barDifferenceRequestWeight, barDifferenceRequestWeight) || other.barDifferenceRequestWeight == barDifferenceRequestWeight)&&(identical(other.barDifferenceRequestQuantity, barDifferenceRequestQuantity) || other.barDifferenceRequestQuantity == barDifferenceRequestQuantity)&&const DeepCollectionEquality().equals(other.healthCertificate, healthCertificate)&&(identical(other.samasatDischargePercentage, samasatDischargePercentage) || other.samasatDischargePercentage == samasatDischargePercentage)&&(identical(other.personTypeName, personTypeName) || other.personTypeName == personTypeName)&&(identical(other.interactTypeName, interactTypeName) || other.interactTypeName == interactTypeName)&&(identical(other.unionTypeName, unionTypeName) || other.unionTypeName == unionTypeName)&&(identical(other.certId, certId) || other.certId == certId)&&(identical(other.increaseQuantity, increaseQuantity) || other.increaseQuantity == increaseQuantity)&&const DeepCollectionEquality().equals(other.tenantFullname, tenantFullname)&&const DeepCollectionEquality().equals(other.tenantNationalCode, tenantNationalCode)&&const DeepCollectionEquality().equals(other.tenantMobile, tenantMobile)&&const DeepCollectionEquality().equals(other.tenantCity, tenantCity)&&(identical(other.hasTenant, hasTenant) || other.hasTenant == hasTenant)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&(identical(other.poultry, poultry) || other.poultry == poultry));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,chainCompany,age,const DeepCollectionEquality().hash(inspectionLosses),vetFarm,activeKill,killingInfo,freeGovernmentalInfo,key,createDate,modifyDate,trash,hasChainCompany,const DeepCollectionEquality().hash(poultryIdForeignKey),const DeepCollectionEquality().hash(poultryHatchingIdKey),quantity,losses,leftOver,killedQuantity,extraKilledQuantity,governmentalKilledQuantity,governmentalQuantity,freeKilledQuantity,freeQuantity,chainKilledQuantity,chainKilledWeight,outProvinceKilledWeight,outProvinceKilledQuantity,exportKilledWeight,exportKilledQuantity,totalCommitment,commitmentType,totalCommitmentQuantity,totalFreeCommitmentQuantity,totalFreeCommitmentWeight,totalKilledWeight,totalAverageKilledWeight,requestLeftOver,hall,date,predicateDate,chickenBreed,period,allowHatching,state,archive,violation,const DeepCollectionEquality().hash(message),const DeepCollectionEquality().hash(registrar),const DeepCollectionEquality().hash(breed),cityNumber,cityName,provinceNumber,provinceName,lastChange,chickenAge,nowAge,latestHatchingChange,const DeepCollectionEquality().hash(violationReport),violationMessage,const DeepCollectionEquality().hash(violationImage),const DeepCollectionEquality().hash(violationReporter),const DeepCollectionEquality().hash(violationReportDate),const DeepCollectionEquality().hash(violationReportEditor),const DeepCollectionEquality().hash(violationReportEditDate),totalLosses,directLosses,const DeepCollectionEquality().hash(directLossesInputer),const DeepCollectionEquality().hash(directLossesDate),const DeepCollectionEquality().hash(directLossesEditor),const DeepCollectionEquality().hash(directLossesLastEditDate),const DeepCollectionEquality().hash(endPeriodLossesInputer),const DeepCollectionEquality().hash(endPeriodLossesDate),const DeepCollectionEquality().hash(endPeriodLossesEditor),const DeepCollectionEquality().hash(endPeriodLossesLastEditDate),breedingUniqueId,licenceNumber,temporaryTrash,temporaryDeleted,const DeepCollectionEquality().hash(firstDateInputArchive),const DeepCollectionEquality().hash(secondDateInputArchive),const DeepCollectionEquality().hash(inputArchiver),const DeepCollectionEquality().hash(outputArchiveDate),const DeepCollectionEquality().hash(outputArchiver),barDifferenceRequestWeight,barDifferenceRequestQuantity,const DeepCollectionEquality().hash(healthCertificate),samasatDischargePercentage,personTypeName,interactTypeName,unionTypeName,certId,increaseQuantity,const DeepCollectionEquality().hash(tenantFullname),const DeepCollectionEquality().hash(tenantNationalCode),const DeepCollectionEquality().hash(tenantMobile),const DeepCollectionEquality().hash(tenantCity),hasTenant,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),poultry]);

@override
String toString() {
  return 'HatchingDetails(id: $id, chainCompany: $chainCompany, age: $age, inspectionLosses: $inspectionLosses, vetFarm: $vetFarm, activeKill: $activeKill, killingInfo: $killingInfo, freeGovernmentalInfo: $freeGovernmentalInfo, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, hasChainCompany: $hasChainCompany, poultryIdForeignKey: $poultryIdForeignKey, poultryHatchingIdKey: $poultryHatchingIdKey, quantity: $quantity, losses: $losses, leftOver: $leftOver, killedQuantity: $killedQuantity, extraKilledQuantity: $extraKilledQuantity, governmentalKilledQuantity: $governmentalKilledQuantity, governmentalQuantity: $governmentalQuantity, freeKilledQuantity: $freeKilledQuantity, freeQuantity: $freeQuantity, chainKilledQuantity: $chainKilledQuantity, chainKilledWeight: $chainKilledWeight, outProvinceKilledWeight: $outProvinceKilledWeight, outProvinceKilledQuantity: $outProvinceKilledQuantity, exportKilledWeight: $exportKilledWeight, exportKilledQuantity: $exportKilledQuantity, totalCommitment: $totalCommitment, commitmentType: $commitmentType, totalCommitmentQuantity: $totalCommitmentQuantity, totalFreeCommitmentQuantity: $totalFreeCommitmentQuantity, totalFreeCommitmentWeight: $totalFreeCommitmentWeight, totalKilledWeight: $totalKilledWeight, totalAverageKilledWeight: $totalAverageKilledWeight, requestLeftOver: $requestLeftOver, hall: $hall, date: $date, predicateDate: $predicateDate, chickenBreed: $chickenBreed, period: $period, allowHatching: $allowHatching, state: $state, archive: $archive, violation: $violation, message: $message, registrar: $registrar, breed: $breed, cityNumber: $cityNumber, cityName: $cityName, provinceNumber: $provinceNumber, provinceName: $provinceName, lastChange: $lastChange, chickenAge: $chickenAge, nowAge: $nowAge, latestHatchingChange: $latestHatchingChange, violationReport: $violationReport, violationMessage: $violationMessage, violationImage: $violationImage, violationReporter: $violationReporter, violationReportDate: $violationReportDate, violationReportEditor: $violationReportEditor, violationReportEditDate: $violationReportEditDate, totalLosses: $totalLosses, directLosses: $directLosses, directLossesInputer: $directLossesInputer, directLossesDate: $directLossesDate, directLossesEditor: $directLossesEditor, directLossesLastEditDate: $directLossesLastEditDate, endPeriodLossesInputer: $endPeriodLossesInputer, endPeriodLossesDate: $endPeriodLossesDate, endPeriodLossesEditor: $endPeriodLossesEditor, endPeriodLossesLastEditDate: $endPeriodLossesLastEditDate, breedingUniqueId: $breedingUniqueId, licenceNumber: $licenceNumber, temporaryTrash: $temporaryTrash, temporaryDeleted: $temporaryDeleted, firstDateInputArchive: $firstDateInputArchive, secondDateInputArchive: $secondDateInputArchive, inputArchiver: $inputArchiver, outputArchiveDate: $outputArchiveDate, outputArchiver: $outputArchiver, barDifferenceRequestWeight: $barDifferenceRequestWeight, barDifferenceRequestQuantity: $barDifferenceRequestQuantity, healthCertificate: $healthCertificate, samasatDischargePercentage: $samasatDischargePercentage, personTypeName: $personTypeName, interactTypeName: $interactTypeName, unionTypeName: $unionTypeName, certId: $certId, increaseQuantity: $increaseQuantity, tenantFullname: $tenantFullname, tenantNationalCode: $tenantNationalCode, tenantMobile: $tenantMobile, tenantCity: $tenantCity, hasTenant: $hasTenant, createdBy: $createdBy, modifiedBy: $modifiedBy, poultry: $poultry)';
}


}

/// @nodoc
abstract mixin class $HatchingDetailsCopyWith<$Res>  {
  factory $HatchingDetailsCopyWith(HatchingDetails value, $Res Function(HatchingDetails) _then) = _$HatchingDetailsCopyWithImpl;
@useResult
$Res call({
 int? id, String? chainCompany, int? age, dynamic inspectionLosses, VetFarm? vetFarm, ActiveKill? activeKill, KillingInfo? killingInfo, FreeGovernmentalInfo? freeGovernmentalInfo, String? key, DateTime? createDate, DateTime? modifyDate, bool? trash, bool? hasChainCompany, dynamic poultryIdForeignKey, dynamic poultryHatchingIdKey, int? quantity, int? losses, int? leftOver, int? killedQuantity, int? extraKilledQuantity, double? governmentalKilledQuantity, double? governmentalQuantity, double? freeKilledQuantity, double? freeQuantity, double? chainKilledQuantity, double? chainKilledWeight, double? outProvinceKilledWeight, double? outProvinceKilledQuantity, double? exportKilledWeight, double? exportKilledQuantity, double? totalCommitment, String? commitmentType, double? totalCommitmentQuantity, double? totalFreeCommitmentQuantity, double? totalFreeCommitmentWeight, double? totalKilledWeight, double? totalAverageKilledWeight, int? requestLeftOver, int? hall, DateTime? date, DateTime? predicateDate, String? chickenBreed, int? period, String? allowHatching, String? state, bool? archive, bool? violation, dynamic message, dynamic registrar, List<Breed>? breed, int? cityNumber, String? cityName, int? provinceNumber, String? provinceName, LastChange? lastChange, int? chickenAge, int? nowAge, LatestHatchingChange? latestHatchingChange, dynamic violationReport, String? violationMessage, dynamic violationImage, dynamic violationReporter, dynamic violationReportDate, dynamic violationReportEditor, dynamic violationReportEditDate, int? totalLosses, int? directLosses, dynamic directLossesInputer, dynamic directLossesDate, dynamic directLossesEditor, dynamic directLossesLastEditDate, dynamic endPeriodLossesInputer, dynamic endPeriodLossesDate, dynamic endPeriodLossesEditor, dynamic endPeriodLossesLastEditDate, String? breedingUniqueId, String? licenceNumber, bool? temporaryTrash, bool? temporaryDeleted, dynamic firstDateInputArchive, dynamic secondDateInputArchive, dynamic inputArchiver, dynamic outputArchiveDate, dynamic outputArchiver, double? barDifferenceRequestWeight, double? barDifferenceRequestQuantity, dynamic healthCertificate, int? samasatDischargePercentage, String? personTypeName, String? interactTypeName, String? unionTypeName, String? certId, int? increaseQuantity, dynamic tenantFullname, dynamic tenantNationalCode, dynamic tenantMobile, dynamic tenantCity, bool? hasTenant, dynamic createdBy, dynamic modifiedBy, int? poultry
});


$VetFarmCopyWith<$Res>? get vetFarm;$ActiveKillCopyWith<$Res>? get activeKill;$KillingInfoCopyWith<$Res>? get killingInfo;$FreeGovernmentalInfoCopyWith<$Res>? get freeGovernmentalInfo;$LastChangeCopyWith<$Res>? get lastChange;$LatestHatchingChangeCopyWith<$Res>? get latestHatchingChange;

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

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

/// Create a copy of HatchingDetails
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? chainCompany = freezed,Object? age = freezed,Object? inspectionLosses = freezed,Object? vetFarm = freezed,Object? activeKill = freezed,Object? killingInfo = freezed,Object? freeGovernmentalInfo = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? hasChainCompany = freezed,Object? poultryIdForeignKey = freezed,Object? poultryHatchingIdKey = freezed,Object? quantity = freezed,Object? losses = freezed,Object? leftOver = freezed,Object? killedQuantity = freezed,Object? extraKilledQuantity = freezed,Object? governmentalKilledQuantity = freezed,Object? governmentalQuantity = freezed,Object? freeKilledQuantity = freezed,Object? freeQuantity = freezed,Object? chainKilledQuantity = freezed,Object? chainKilledWeight = freezed,Object? outProvinceKilledWeight = freezed,Object? outProvinceKilledQuantity = freezed,Object? exportKilledWeight = freezed,Object? exportKilledQuantity = freezed,Object? totalCommitment = freezed,Object? commitmentType = freezed,Object? totalCommitmentQuantity = freezed,Object? totalFreeCommitmentQuantity = freezed,Object? totalFreeCommitmentWeight = freezed,Object? totalKilledWeight = freezed,Object? totalAverageKilledWeight = freezed,Object? requestLeftOver = freezed,Object? hall = freezed,Object? date = freezed,Object? predicateDate = freezed,Object? chickenBreed = freezed,Object? period = freezed,Object? allowHatching = freezed,Object? state = freezed,Object? archive = freezed,Object? violation = freezed,Object? message = freezed,Object? registrar = freezed,Object? breed = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? lastChange = freezed,Object? chickenAge = freezed,Object? nowAge = freezed,Object? latestHatchingChange = freezed,Object? violationReport = freezed,Object? violationMessage = freezed,Object? violationImage = freezed,Object? violationReporter = freezed,Object? violationReportDate = freezed,Object? violationReportEditor = freezed,Object? violationReportEditDate = freezed,Object? totalLosses = freezed,Object? directLosses = freezed,Object? directLossesInputer = freezed,Object? directLossesDate = freezed,Object? directLossesEditor = freezed,Object? directLossesLastEditDate = freezed,Object? endPeriodLossesInputer = freezed,Object? endPeriodLossesDate = freezed,Object? endPeriodLossesEditor = freezed,Object? endPeriodLossesLastEditDate = freezed,Object? breedingUniqueId = freezed,Object? licenceNumber = freezed,Object? temporaryTrash = freezed,Object? temporaryDeleted = freezed,Object? firstDateInputArchive = freezed,Object? secondDateInputArchive = freezed,Object? inputArchiver = freezed,Object? outputArchiveDate = freezed,Object? outputArchiver = freezed,Object? barDifferenceRequestWeight = freezed,Object? barDifferenceRequestQuantity = freezed,Object? healthCertificate = freezed,Object? samasatDischargePercentage = freezed,Object? personTypeName = freezed,Object? interactTypeName = freezed,Object? unionTypeName = freezed,Object? certId = freezed,Object? increaseQuantity = freezed,Object? tenantFullname = freezed,Object? tenantNationalCode = freezed,Object? tenantMobile = freezed,Object? tenantCity = freezed,Object? hasTenant = 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?,chainCompany: freezed == chainCompany ? _self.chainCompany : chainCompany // ignore: cast_nullable_to_non_nullable
as String?,age: freezed == age ? _self.age : age // ignore: cast_nullable_to_non_nullable
as int?,inspectionLosses: freezed == inspectionLosses ? _self.inspectionLosses : inspectionLosses // ignore: cast_nullable_to_non_nullable
as dynamic,vetFarm: freezed == vetFarm ? _self.vetFarm : vetFarm // ignore: cast_nullable_to_non_nullable
as VetFarm?,activeKill: freezed == activeKill ? _self.activeKill : activeKill // ignore: cast_nullable_to_non_nullable
as ActiveKill?,killingInfo: freezed == killingInfo ? _self.killingInfo : killingInfo // ignore: cast_nullable_to_non_nullable
as KillingInfo?,freeGovernmentalInfo: freezed == freeGovernmentalInfo ? _self.freeGovernmentalInfo : freeGovernmentalInfo // ignore: cast_nullable_to_non_nullable
as FreeGovernmentalInfo?,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 DateTime?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as DateTime?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,hasChainCompany: freezed == hasChainCompany ? _self.hasChainCompany : hasChainCompany // ignore: cast_nullable_to_non_nullable
as bool?,poultryIdForeignKey: freezed == poultryIdForeignKey ? _self.poultryIdForeignKey : poultryIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,poultryHatchingIdKey: freezed == poultryHatchingIdKey ? _self.poultryHatchingIdKey : poultryHatchingIdKey // ignore: cast_nullable_to_non_nullable
as dynamic,quantity: freezed == quantity ? _self.quantity : quantity // ignore: cast_nullable_to_non_nullable
as int?,losses: freezed == losses ? _self.losses : losses // ignore: cast_nullable_to_non_nullable
as int?,leftOver: freezed == leftOver ? _self.leftOver : leftOver // ignore: cast_nullable_to_non_nullable
as int?,killedQuantity: freezed == killedQuantity ? _self.killedQuantity : killedQuantity // ignore: cast_nullable_to_non_nullable
as int?,extraKilledQuantity: freezed == extraKilledQuantity ? _self.extraKilledQuantity : extraKilledQuantity // ignore: cast_nullable_to_non_nullable
as int?,governmentalKilledQuantity: freezed == governmentalKilledQuantity ? _self.governmentalKilledQuantity : governmentalKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,governmentalQuantity: freezed == governmentalQuantity ? _self.governmentalQuantity : governmentalQuantity // ignore: cast_nullable_to_non_nullable
as double?,freeKilledQuantity: freezed == freeKilledQuantity ? _self.freeKilledQuantity : freeKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,freeQuantity: freezed == freeQuantity ? _self.freeQuantity : freeQuantity // ignore: cast_nullable_to_non_nullable
as double?,chainKilledQuantity: freezed == chainKilledQuantity ? _self.chainKilledQuantity : chainKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,chainKilledWeight: freezed == chainKilledWeight ? _self.chainKilledWeight : chainKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,outProvinceKilledWeight: freezed == outProvinceKilledWeight ? _self.outProvinceKilledWeight : outProvinceKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,outProvinceKilledQuantity: freezed == outProvinceKilledQuantity ? _self.outProvinceKilledQuantity : outProvinceKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,exportKilledWeight: freezed == exportKilledWeight ? _self.exportKilledWeight : exportKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,exportKilledQuantity: freezed == exportKilledQuantity ? _self.exportKilledQuantity : exportKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,totalCommitment: freezed == totalCommitment ? _self.totalCommitment : totalCommitment // ignore: cast_nullable_to_non_nullable
as double?,commitmentType: freezed == commitmentType ? _self.commitmentType : commitmentType // ignore: cast_nullable_to_non_nullable
as String?,totalCommitmentQuantity: freezed == totalCommitmentQuantity ? _self.totalCommitmentQuantity : totalCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,totalFreeCommitmentQuantity: freezed == totalFreeCommitmentQuantity ? _self.totalFreeCommitmentQuantity : totalFreeCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,totalFreeCommitmentWeight: freezed == totalFreeCommitmentWeight ? _self.totalFreeCommitmentWeight : totalFreeCommitmentWeight // ignore: cast_nullable_to_non_nullable
as double?,totalKilledWeight: freezed == totalKilledWeight ? _self.totalKilledWeight : totalKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,totalAverageKilledWeight: freezed == totalAverageKilledWeight ? _self.totalAverageKilledWeight : totalAverageKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,requestLeftOver: freezed == requestLeftOver ? _self.requestLeftOver : requestLeftOver // ignore: cast_nullable_to_non_nullable
as int?,hall: freezed == hall ? _self.hall : hall // ignore: cast_nullable_to_non_nullable
as int?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as DateTime?,predicateDate: freezed == predicateDate ? _self.predicateDate : predicateDate // ignore: cast_nullable_to_non_nullable
as DateTime?,chickenBreed: freezed == chickenBreed ? _self.chickenBreed : chickenBreed // ignore: cast_nullable_to_non_nullable
as String?,period: freezed == period ? _self.period : period // ignore: cast_nullable_to_non_nullable
as int?,allowHatching: freezed == allowHatching ? _self.allowHatching : allowHatching // ignore: cast_nullable_to_non_nullable
as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
as String?,archive: freezed == archive ? _self.archive : archive // ignore: cast_nullable_to_non_nullable
as bool?,violation: freezed == violation ? _self.violation : violation // ignore: cast_nullable_to_non_nullable
as bool?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable
as dynamic,registrar: freezed == registrar ? _self.registrar : registrar // ignore: cast_nullable_to_non_nullable
as dynamic,breed: freezed == breed ? _self.breed : breed // ignore: cast_nullable_to_non_nullable
as List<Breed>?,cityNumber: freezed == cityNumber ? _self.cityNumber : cityNumber // ignore: cast_nullable_to_non_nullable
as int?,cityName: freezed == cityName ? _self.cityName : cityName // ignore: cast_nullable_to_non_nullable
as String?,provinceNumber: freezed == provinceNumber ? _self.provinceNumber : provinceNumber // ignore: cast_nullable_to_non_nullable
as int?,provinceName: freezed == provinceName ? _self.provinceName : provinceName // ignore: cast_nullable_to_non_nullable
as String?,lastChange: freezed == lastChange ? _self.lastChange : lastChange // ignore: cast_nullable_to_non_nullable
as LastChange?,chickenAge: freezed == chickenAge ? _self.chickenAge : chickenAge // ignore: cast_nullable_to_non_nullable
as int?,nowAge: freezed == nowAge ? _self.nowAge : nowAge // ignore: cast_nullable_to_non_nullable
as int?,latestHatchingChange: freezed == latestHatchingChange ? _self.latestHatchingChange : latestHatchingChange // ignore: cast_nullable_to_non_nullable
as LatestHatchingChange?,violationReport: freezed == violationReport ? _self.violationReport : violationReport // ignore: cast_nullable_to_non_nullable
as dynamic,violationMessage: freezed == violationMessage ? _self.violationMessage : violationMessage // ignore: cast_nullable_to_non_nullable
as String?,violationImage: freezed == violationImage ? _self.violationImage : violationImage // ignore: cast_nullable_to_non_nullable
as dynamic,violationReporter: freezed == violationReporter ? _self.violationReporter : violationReporter // ignore: cast_nullable_to_non_nullable
as dynamic,violationReportDate: freezed == violationReportDate ? _self.violationReportDate : violationReportDate // ignore: cast_nullable_to_non_nullable
as dynamic,violationReportEditor: freezed == violationReportEditor ? _self.violationReportEditor : violationReportEditor // ignore: cast_nullable_to_non_nullable
as dynamic,violationReportEditDate: freezed == violationReportEditDate ? _self.violationReportEditDate : violationReportEditDate // ignore: cast_nullable_to_non_nullable
as dynamic,totalLosses: freezed == totalLosses ? _self.totalLosses : totalLosses // ignore: cast_nullable_to_non_nullable
as int?,directLosses: freezed == directLosses ? _self.directLosses : directLosses // ignore: cast_nullable_to_non_nullable
as int?,directLossesInputer: freezed == directLossesInputer ? _self.directLossesInputer : directLossesInputer // ignore: cast_nullable_to_non_nullable
as dynamic,directLossesDate: freezed == directLossesDate ? _self.directLossesDate : directLossesDate // ignore: cast_nullable_to_non_nullable
as dynamic,directLossesEditor: freezed == directLossesEditor ? _self.directLossesEditor : directLossesEditor // ignore: cast_nullable_to_non_nullable
as dynamic,directLossesLastEditDate: freezed == directLossesLastEditDate ? _self.directLossesLastEditDate : directLossesLastEditDate // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesInputer: freezed == endPeriodLossesInputer ? _self.endPeriodLossesInputer : endPeriodLossesInputer // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesDate: freezed == endPeriodLossesDate ? _self.endPeriodLossesDate : endPeriodLossesDate // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesEditor: freezed == endPeriodLossesEditor ? _self.endPeriodLossesEditor : endPeriodLossesEditor // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesLastEditDate: freezed == endPeriodLossesLastEditDate ? _self.endPeriodLossesLastEditDate : endPeriodLossesLastEditDate // ignore: cast_nullable_to_non_nullable
as dynamic,breedingUniqueId: freezed == breedingUniqueId ? _self.breedingUniqueId : breedingUniqueId // ignore: cast_nullable_to_non_nullable
as String?,licenceNumber: freezed == licenceNumber ? _self.licenceNumber : licenceNumber // ignore: cast_nullable_to_non_nullable
as String?,temporaryTrash: freezed == temporaryTrash ? _self.temporaryTrash : temporaryTrash // ignore: cast_nullable_to_non_nullable
as bool?,temporaryDeleted: freezed == temporaryDeleted ? _self.temporaryDeleted : temporaryDeleted // ignore: cast_nullable_to_non_nullable
as bool?,firstDateInputArchive: freezed == firstDateInputArchive ? _self.firstDateInputArchive : firstDateInputArchive // ignore: cast_nullable_to_non_nullable
as dynamic,secondDateInputArchive: freezed == secondDateInputArchive ? _self.secondDateInputArchive : secondDateInputArchive // ignore: cast_nullable_to_non_nullable
as dynamic,inputArchiver: freezed == inputArchiver ? _self.inputArchiver : inputArchiver // ignore: cast_nullable_to_non_nullable
as dynamic,outputArchiveDate: freezed == outputArchiveDate ? _self.outputArchiveDate : outputArchiveDate // ignore: cast_nullable_to_non_nullable
as dynamic,outputArchiver: freezed == outputArchiver ? _self.outputArchiver : outputArchiver // ignore: cast_nullable_to_non_nullable
as dynamic,barDifferenceRequestWeight: freezed == barDifferenceRequestWeight ? _self.barDifferenceRequestWeight : barDifferenceRequestWeight // ignore: cast_nullable_to_non_nullable
as double?,barDifferenceRequestQuantity: freezed == barDifferenceRequestQuantity ? _self.barDifferenceRequestQuantity : barDifferenceRequestQuantity // ignore: cast_nullable_to_non_nullable
as double?,healthCertificate: freezed == healthCertificate ? _self.healthCertificate : healthCertificate // ignore: cast_nullable_to_non_nullable
as dynamic,samasatDischargePercentage: freezed == samasatDischargePercentage ? _self.samasatDischargePercentage : samasatDischargePercentage // ignore: cast_nullable_to_non_nullable
as int?,personTypeName: freezed == personTypeName ? _self.personTypeName : personTypeName // ignore: cast_nullable_to_non_nullable
as String?,interactTypeName: freezed == interactTypeName ? _self.interactTypeName : interactTypeName // ignore: cast_nullable_to_non_nullable
as String?,unionTypeName: freezed == unionTypeName ? _self.unionTypeName : unionTypeName // ignore: cast_nullable_to_non_nullable
as String?,certId: freezed == certId ? _self.certId : certId // ignore: cast_nullable_to_non_nullable
as String?,increaseQuantity: freezed == increaseQuantity ? _self.increaseQuantity : increaseQuantity // ignore: cast_nullable_to_non_nullable
as int?,tenantFullname: freezed == tenantFullname ? _self.tenantFullname : tenantFullname // ignore: cast_nullable_to_non_nullable
as dynamic,tenantNationalCode: freezed == tenantNationalCode ? _self.tenantNationalCode : tenantNationalCode // ignore: cast_nullable_to_non_nullable
as dynamic,tenantMobile: freezed == tenantMobile ? _self.tenantMobile : tenantMobile // ignore: cast_nullable_to_non_nullable
as dynamic,tenantCity: freezed == tenantCity ? _self.tenantCity : tenantCity // ignore: cast_nullable_to_non_nullable
as dynamic,hasTenant: freezed == hasTenant ? _self.hasTenant : hasTenant // ignore: cast_nullable_to_non_nullable
as bool?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
as dynamic,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
as dynamic,poultry: freezed == poultry ? _self.poultry : poultry // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}
/// Create a copy of HatchingDetails
/// 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));
  });
}/// Create a copy of HatchingDetails
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ActiveKillCopyWith<$Res>? get activeKill {
    if (_self.activeKill == null) {
    return null;
  }

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

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

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

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

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


/// Adds pattern-matching-related methods to [HatchingDetails].
extension HatchingDetailsPatterns on HatchingDetails {
/// 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( _HatchingDetails value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _HatchingDetails() 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( _HatchingDetails value)  $default,){
final _that = this;
switch (_that) {
case _HatchingDetails():
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( _HatchingDetails value)?  $default,){
final _that = this;
switch (_that) {
case _HatchingDetails() 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,  String? chainCompany,  int? age,  dynamic inspectionLosses,  VetFarm? vetFarm,  ActiveKill? activeKill,  KillingInfo? killingInfo,  FreeGovernmentalInfo? freeGovernmentalInfo,  String? key,  DateTime? createDate,  DateTime? modifyDate,  bool? trash,  bool? hasChainCompany,  dynamic poultryIdForeignKey,  dynamic poultryHatchingIdKey,  int? quantity,  int? losses,  int? leftOver,  int? killedQuantity,  int? extraKilledQuantity,  double? governmentalKilledQuantity,  double? governmentalQuantity,  double? freeKilledQuantity,  double? freeQuantity,  double? chainKilledQuantity,  double? chainKilledWeight,  double? outProvinceKilledWeight,  double? outProvinceKilledQuantity,  double? exportKilledWeight,  double? exportKilledQuantity,  double? totalCommitment,  String? commitmentType,  double? totalCommitmentQuantity,  double? totalFreeCommitmentQuantity,  double? totalFreeCommitmentWeight,  double? totalKilledWeight,  double? totalAverageKilledWeight,  int? requestLeftOver,  int? hall,  DateTime? date,  DateTime? predicateDate,  String? chickenBreed,  int? period,  String? allowHatching,  String? state,  bool? archive,  bool? violation,  dynamic message,  dynamic registrar,  List<Breed>? breed,  int? cityNumber,  String? cityName,  int? provinceNumber,  String? provinceName,  LastChange? lastChange,  int? chickenAge,  int? nowAge,  LatestHatchingChange? latestHatchingChange,  dynamic violationReport,  String? violationMessage,  dynamic violationImage,  dynamic violationReporter,  dynamic violationReportDate,  dynamic violationReportEditor,  dynamic violationReportEditDate,  int? totalLosses,  int? directLosses,  dynamic directLossesInputer,  dynamic directLossesDate,  dynamic directLossesEditor,  dynamic directLossesLastEditDate,  dynamic endPeriodLossesInputer,  dynamic endPeriodLossesDate,  dynamic endPeriodLossesEditor,  dynamic endPeriodLossesLastEditDate,  String? breedingUniqueId,  String? licenceNumber,  bool? temporaryTrash,  bool? temporaryDeleted,  dynamic firstDateInputArchive,  dynamic secondDateInputArchive,  dynamic inputArchiver,  dynamic outputArchiveDate,  dynamic outputArchiver,  double? barDifferenceRequestWeight,  double? barDifferenceRequestQuantity,  dynamic healthCertificate,  int? samasatDischargePercentage,  String? personTypeName,  String? interactTypeName,  String? unionTypeName,  String? certId,  int? increaseQuantity,  dynamic tenantFullname,  dynamic tenantNationalCode,  dynamic tenantMobile,  dynamic tenantCity,  bool? hasTenant,  dynamic createdBy,  dynamic modifiedBy,  int? poultry)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _HatchingDetails() when $default != null:
return $default(_that.id,_that.chainCompany,_that.age,_that.inspectionLosses,_that.vetFarm,_that.activeKill,_that.killingInfo,_that.freeGovernmentalInfo,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.hasChainCompany,_that.poultryIdForeignKey,_that.poultryHatchingIdKey,_that.quantity,_that.losses,_that.leftOver,_that.killedQuantity,_that.extraKilledQuantity,_that.governmentalKilledQuantity,_that.governmentalQuantity,_that.freeKilledQuantity,_that.freeQuantity,_that.chainKilledQuantity,_that.chainKilledWeight,_that.outProvinceKilledWeight,_that.outProvinceKilledQuantity,_that.exportKilledWeight,_that.exportKilledQuantity,_that.totalCommitment,_that.commitmentType,_that.totalCommitmentQuantity,_that.totalFreeCommitmentQuantity,_that.totalFreeCommitmentWeight,_that.totalKilledWeight,_that.totalAverageKilledWeight,_that.requestLeftOver,_that.hall,_that.date,_that.predicateDate,_that.chickenBreed,_that.period,_that.allowHatching,_that.state,_that.archive,_that.violation,_that.message,_that.registrar,_that.breed,_that.cityNumber,_that.cityName,_that.provinceNumber,_that.provinceName,_that.lastChange,_that.chickenAge,_that.nowAge,_that.latestHatchingChange,_that.violationReport,_that.violationMessage,_that.violationImage,_that.violationReporter,_that.violationReportDate,_that.violationReportEditor,_that.violationReportEditDate,_that.totalLosses,_that.directLosses,_that.directLossesInputer,_that.directLossesDate,_that.directLossesEditor,_that.directLossesLastEditDate,_that.endPeriodLossesInputer,_that.endPeriodLossesDate,_that.endPeriodLossesEditor,_that.endPeriodLossesLastEditDate,_that.breedingUniqueId,_that.licenceNumber,_that.temporaryTrash,_that.temporaryDeleted,_that.firstDateInputArchive,_that.secondDateInputArchive,_that.inputArchiver,_that.outputArchiveDate,_that.outputArchiver,_that.barDifferenceRequestWeight,_that.barDifferenceRequestQuantity,_that.healthCertificate,_that.samasatDischargePercentage,_that.personTypeName,_that.interactTypeName,_that.unionTypeName,_that.certId,_that.increaseQuantity,_that.tenantFullname,_that.tenantNationalCode,_that.tenantMobile,_that.tenantCity,_that.hasTenant,_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,  String? chainCompany,  int? age,  dynamic inspectionLosses,  VetFarm? vetFarm,  ActiveKill? activeKill,  KillingInfo? killingInfo,  FreeGovernmentalInfo? freeGovernmentalInfo,  String? key,  DateTime? createDate,  DateTime? modifyDate,  bool? trash,  bool? hasChainCompany,  dynamic poultryIdForeignKey,  dynamic poultryHatchingIdKey,  int? quantity,  int? losses,  int? leftOver,  int? killedQuantity,  int? extraKilledQuantity,  double? governmentalKilledQuantity,  double? governmentalQuantity,  double? freeKilledQuantity,  double? freeQuantity,  double? chainKilledQuantity,  double? chainKilledWeight,  double? outProvinceKilledWeight,  double? outProvinceKilledQuantity,  double? exportKilledWeight,  double? exportKilledQuantity,  double? totalCommitment,  String? commitmentType,  double? totalCommitmentQuantity,  double? totalFreeCommitmentQuantity,  double? totalFreeCommitmentWeight,  double? totalKilledWeight,  double? totalAverageKilledWeight,  int? requestLeftOver,  int? hall,  DateTime? date,  DateTime? predicateDate,  String? chickenBreed,  int? period,  String? allowHatching,  String? state,  bool? archive,  bool? violation,  dynamic message,  dynamic registrar,  List<Breed>? breed,  int? cityNumber,  String? cityName,  int? provinceNumber,  String? provinceName,  LastChange? lastChange,  int? chickenAge,  int? nowAge,  LatestHatchingChange? latestHatchingChange,  dynamic violationReport,  String? violationMessage,  dynamic violationImage,  dynamic violationReporter,  dynamic violationReportDate,  dynamic violationReportEditor,  dynamic violationReportEditDate,  int? totalLosses,  int? directLosses,  dynamic directLossesInputer,  dynamic directLossesDate,  dynamic directLossesEditor,  dynamic directLossesLastEditDate,  dynamic endPeriodLossesInputer,  dynamic endPeriodLossesDate,  dynamic endPeriodLossesEditor,  dynamic endPeriodLossesLastEditDate,  String? breedingUniqueId,  String? licenceNumber,  bool? temporaryTrash,  bool? temporaryDeleted,  dynamic firstDateInputArchive,  dynamic secondDateInputArchive,  dynamic inputArchiver,  dynamic outputArchiveDate,  dynamic outputArchiver,  double? barDifferenceRequestWeight,  double? barDifferenceRequestQuantity,  dynamic healthCertificate,  int? samasatDischargePercentage,  String? personTypeName,  String? interactTypeName,  String? unionTypeName,  String? certId,  int? increaseQuantity,  dynamic tenantFullname,  dynamic tenantNationalCode,  dynamic tenantMobile,  dynamic tenantCity,  bool? hasTenant,  dynamic createdBy,  dynamic modifiedBy,  int? poultry)  $default,) {final _that = this;
switch (_that) {
case _HatchingDetails():
return $default(_that.id,_that.chainCompany,_that.age,_that.inspectionLosses,_that.vetFarm,_that.activeKill,_that.killingInfo,_that.freeGovernmentalInfo,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.hasChainCompany,_that.poultryIdForeignKey,_that.poultryHatchingIdKey,_that.quantity,_that.losses,_that.leftOver,_that.killedQuantity,_that.extraKilledQuantity,_that.governmentalKilledQuantity,_that.governmentalQuantity,_that.freeKilledQuantity,_that.freeQuantity,_that.chainKilledQuantity,_that.chainKilledWeight,_that.outProvinceKilledWeight,_that.outProvinceKilledQuantity,_that.exportKilledWeight,_that.exportKilledQuantity,_that.totalCommitment,_that.commitmentType,_that.totalCommitmentQuantity,_that.totalFreeCommitmentQuantity,_that.totalFreeCommitmentWeight,_that.totalKilledWeight,_that.totalAverageKilledWeight,_that.requestLeftOver,_that.hall,_that.date,_that.predicateDate,_that.chickenBreed,_that.period,_that.allowHatching,_that.state,_that.archive,_that.violation,_that.message,_that.registrar,_that.breed,_that.cityNumber,_that.cityName,_that.provinceNumber,_that.provinceName,_that.lastChange,_that.chickenAge,_that.nowAge,_that.latestHatchingChange,_that.violationReport,_that.violationMessage,_that.violationImage,_that.violationReporter,_that.violationReportDate,_that.violationReportEditor,_that.violationReportEditDate,_that.totalLosses,_that.directLosses,_that.directLossesInputer,_that.directLossesDate,_that.directLossesEditor,_that.directLossesLastEditDate,_that.endPeriodLossesInputer,_that.endPeriodLossesDate,_that.endPeriodLossesEditor,_that.endPeriodLossesLastEditDate,_that.breedingUniqueId,_that.licenceNumber,_that.temporaryTrash,_that.temporaryDeleted,_that.firstDateInputArchive,_that.secondDateInputArchive,_that.inputArchiver,_that.outputArchiveDate,_that.outputArchiver,_that.barDifferenceRequestWeight,_that.barDifferenceRequestQuantity,_that.healthCertificate,_that.samasatDischargePercentage,_that.personTypeName,_that.interactTypeName,_that.unionTypeName,_that.certId,_that.increaseQuantity,_that.tenantFullname,_that.tenantNationalCode,_that.tenantMobile,_that.tenantCity,_that.hasTenant,_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,  String? chainCompany,  int? age,  dynamic inspectionLosses,  VetFarm? vetFarm,  ActiveKill? activeKill,  KillingInfo? killingInfo,  FreeGovernmentalInfo? freeGovernmentalInfo,  String? key,  DateTime? createDate,  DateTime? modifyDate,  bool? trash,  bool? hasChainCompany,  dynamic poultryIdForeignKey,  dynamic poultryHatchingIdKey,  int? quantity,  int? losses,  int? leftOver,  int? killedQuantity,  int? extraKilledQuantity,  double? governmentalKilledQuantity,  double? governmentalQuantity,  double? freeKilledQuantity,  double? freeQuantity,  double? chainKilledQuantity,  double? chainKilledWeight,  double? outProvinceKilledWeight,  double? outProvinceKilledQuantity,  double? exportKilledWeight,  double? exportKilledQuantity,  double? totalCommitment,  String? commitmentType,  double? totalCommitmentQuantity,  double? totalFreeCommitmentQuantity,  double? totalFreeCommitmentWeight,  double? totalKilledWeight,  double? totalAverageKilledWeight,  int? requestLeftOver,  int? hall,  DateTime? date,  DateTime? predicateDate,  String? chickenBreed,  int? period,  String? allowHatching,  String? state,  bool? archive,  bool? violation,  dynamic message,  dynamic registrar,  List<Breed>? breed,  int? cityNumber,  String? cityName,  int? provinceNumber,  String? provinceName,  LastChange? lastChange,  int? chickenAge,  int? nowAge,  LatestHatchingChange? latestHatchingChange,  dynamic violationReport,  String? violationMessage,  dynamic violationImage,  dynamic violationReporter,  dynamic violationReportDate,  dynamic violationReportEditor,  dynamic violationReportEditDate,  int? totalLosses,  int? directLosses,  dynamic directLossesInputer,  dynamic directLossesDate,  dynamic directLossesEditor,  dynamic directLossesLastEditDate,  dynamic endPeriodLossesInputer,  dynamic endPeriodLossesDate,  dynamic endPeriodLossesEditor,  dynamic endPeriodLossesLastEditDate,  String? breedingUniqueId,  String? licenceNumber,  bool? temporaryTrash,  bool? temporaryDeleted,  dynamic firstDateInputArchive,  dynamic secondDateInputArchive,  dynamic inputArchiver,  dynamic outputArchiveDate,  dynamic outputArchiver,  double? barDifferenceRequestWeight,  double? barDifferenceRequestQuantity,  dynamic healthCertificate,  int? samasatDischargePercentage,  String? personTypeName,  String? interactTypeName,  String? unionTypeName,  String? certId,  int? increaseQuantity,  dynamic tenantFullname,  dynamic tenantNationalCode,  dynamic tenantMobile,  dynamic tenantCity,  bool? hasTenant,  dynamic createdBy,  dynamic modifiedBy,  int? poultry)?  $default,) {final _that = this;
switch (_that) {
case _HatchingDetails() when $default != null:
return $default(_that.id,_that.chainCompany,_that.age,_that.inspectionLosses,_that.vetFarm,_that.activeKill,_that.killingInfo,_that.freeGovernmentalInfo,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.hasChainCompany,_that.poultryIdForeignKey,_that.poultryHatchingIdKey,_that.quantity,_that.losses,_that.leftOver,_that.killedQuantity,_that.extraKilledQuantity,_that.governmentalKilledQuantity,_that.governmentalQuantity,_that.freeKilledQuantity,_that.freeQuantity,_that.chainKilledQuantity,_that.chainKilledWeight,_that.outProvinceKilledWeight,_that.outProvinceKilledQuantity,_that.exportKilledWeight,_that.exportKilledQuantity,_that.totalCommitment,_that.commitmentType,_that.totalCommitmentQuantity,_that.totalFreeCommitmentQuantity,_that.totalFreeCommitmentWeight,_that.totalKilledWeight,_that.totalAverageKilledWeight,_that.requestLeftOver,_that.hall,_that.date,_that.predicateDate,_that.chickenBreed,_that.period,_that.allowHatching,_that.state,_that.archive,_that.violation,_that.message,_that.registrar,_that.breed,_that.cityNumber,_that.cityName,_that.provinceNumber,_that.provinceName,_that.lastChange,_that.chickenAge,_that.nowAge,_that.latestHatchingChange,_that.violationReport,_that.violationMessage,_that.violationImage,_that.violationReporter,_that.violationReportDate,_that.violationReportEditor,_that.violationReportEditDate,_that.totalLosses,_that.directLosses,_that.directLossesInputer,_that.directLossesDate,_that.directLossesEditor,_that.directLossesLastEditDate,_that.endPeriodLossesInputer,_that.endPeriodLossesDate,_that.endPeriodLossesEditor,_that.endPeriodLossesLastEditDate,_that.breedingUniqueId,_that.licenceNumber,_that.temporaryTrash,_that.temporaryDeleted,_that.firstDateInputArchive,_that.secondDateInputArchive,_that.inputArchiver,_that.outputArchiveDate,_that.outputArchiver,_that.barDifferenceRequestWeight,_that.barDifferenceRequestQuantity,_that.healthCertificate,_that.samasatDischargePercentage,_that.personTypeName,_that.interactTypeName,_that.unionTypeName,_that.certId,_that.increaseQuantity,_that.tenantFullname,_that.tenantNationalCode,_that.tenantMobile,_that.tenantCity,_that.hasTenant,_that.createdBy,_that.modifiedBy,_that.poultry);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _HatchingDetails implements HatchingDetails {
  const _HatchingDetails({this.id, this.chainCompany, this.age, this.inspectionLosses, this.vetFarm, this.activeKill, this.killingInfo, this.freeGovernmentalInfo, this.key, this.createDate, this.modifyDate, this.trash, this.hasChainCompany, this.poultryIdForeignKey, this.poultryHatchingIdKey, this.quantity, this.losses, this.leftOver, this.killedQuantity, this.extraKilledQuantity, this.governmentalKilledQuantity, this.governmentalQuantity, this.freeKilledQuantity, this.freeQuantity, this.chainKilledQuantity, this.chainKilledWeight, this.outProvinceKilledWeight, this.outProvinceKilledQuantity, this.exportKilledWeight, this.exportKilledQuantity, this.totalCommitment, this.commitmentType, this.totalCommitmentQuantity, this.totalFreeCommitmentQuantity, this.totalFreeCommitmentWeight, this.totalKilledWeight, this.totalAverageKilledWeight, this.requestLeftOver, this.hall, this.date, this.predicateDate, this.chickenBreed, this.period, this.allowHatching, this.state, this.archive, this.violation, this.message, this.registrar, final  List<Breed>? breed, this.cityNumber, this.cityName, this.provinceNumber, this.provinceName, this.lastChange, this.chickenAge, this.nowAge, this.latestHatchingChange, this.violationReport, this.violationMessage, this.violationImage, this.violationReporter, this.violationReportDate, this.violationReportEditor, this.violationReportEditDate, this.totalLosses, this.directLosses, this.directLossesInputer, this.directLossesDate, this.directLossesEditor, this.directLossesLastEditDate, this.endPeriodLossesInputer, this.endPeriodLossesDate, this.endPeriodLossesEditor, this.endPeriodLossesLastEditDate, this.breedingUniqueId, this.licenceNumber, this.temporaryTrash, this.temporaryDeleted, this.firstDateInputArchive, this.secondDateInputArchive, this.inputArchiver, this.outputArchiveDate, this.outputArchiver, this.barDifferenceRequestWeight, this.barDifferenceRequestQuantity, this.healthCertificate, this.samasatDischargePercentage, this.personTypeName, this.interactTypeName, this.unionTypeName, this.certId, this.increaseQuantity, this.tenantFullname, this.tenantNationalCode, this.tenantMobile, this.tenantCity, this.hasTenant, this.createdBy, this.modifiedBy, this.poultry}): _breed = breed;
  factory _HatchingDetails.fromJson(Map<String, dynamic> json) => _$HatchingDetailsFromJson(json);

@override final  int? id;
@override final  String? chainCompany;
@override final  int? age;
@override final  dynamic inspectionLosses;
@override final  VetFarm? vetFarm;
@override final  ActiveKill? activeKill;
@override final  KillingInfo? killingInfo;
@override final  FreeGovernmentalInfo? freeGovernmentalInfo;
@override final  String? key;
@override final  DateTime? createDate;
@override final  DateTime? modifyDate;
@override final  bool? trash;
@override final  bool? hasChainCompany;
@override final  dynamic poultryIdForeignKey;
@override final  dynamic poultryHatchingIdKey;
@override final  int? quantity;
@override final  int? losses;
@override final  int? leftOver;
@override final  int? killedQuantity;
@override final  int? extraKilledQuantity;
@override final  double? governmentalKilledQuantity;
@override final  double? governmentalQuantity;
@override final  double? freeKilledQuantity;
@override final  double? freeQuantity;
@override final  double? chainKilledQuantity;
@override final  double? chainKilledWeight;
@override final  double? outProvinceKilledWeight;
@override final  double? outProvinceKilledQuantity;
@override final  double? exportKilledWeight;
@override final  double? exportKilledQuantity;
@override final  double? totalCommitment;
@override final  String? commitmentType;
@override final  double? totalCommitmentQuantity;
@override final  double? totalFreeCommitmentQuantity;
@override final  double? totalFreeCommitmentWeight;
@override final  double? totalKilledWeight;
@override final  double? totalAverageKilledWeight;
@override final  int? requestLeftOver;
@override final  int? hall;
@override final  DateTime? date;
@override final  DateTime? predicateDate;
@override final  String? chickenBreed;
@override final  int? period;
@override final  String? allowHatching;
@override final  String? state;
@override final  bool? archive;
@override final  bool? violation;
@override final  dynamic message;
@override final  dynamic registrar;
 final  List<Breed>? _breed;
@override List<Breed>? get breed {
  final value = _breed;
  if (value == null) return null;
  if (_breed is EqualUnmodifiableListView) return _breed;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

@override final  int? cityNumber;
@override final  String? cityName;
@override final  int? provinceNumber;
@override final  String? provinceName;
@override final  LastChange? lastChange;
@override final  int? chickenAge;
@override final  int? nowAge;
@override final  LatestHatchingChange? latestHatchingChange;
@override final  dynamic violationReport;
@override final  String? violationMessage;
@override final  dynamic violationImage;
@override final  dynamic violationReporter;
@override final  dynamic violationReportDate;
@override final  dynamic violationReportEditor;
@override final  dynamic violationReportEditDate;
@override final  int? totalLosses;
@override final  int? directLosses;
@override final  dynamic directLossesInputer;
@override final  dynamic directLossesDate;
@override final  dynamic directLossesEditor;
@override final  dynamic directLossesLastEditDate;
@override final  dynamic endPeriodLossesInputer;
@override final  dynamic endPeriodLossesDate;
@override final  dynamic endPeriodLossesEditor;
@override final  dynamic endPeriodLossesLastEditDate;
@override final  String? breedingUniqueId;
@override final  String? licenceNumber;
@override final  bool? temporaryTrash;
@override final  bool? temporaryDeleted;
@override final  dynamic firstDateInputArchive;
@override final  dynamic secondDateInputArchive;
@override final  dynamic inputArchiver;
@override final  dynamic outputArchiveDate;
@override final  dynamic outputArchiver;
@override final  double? barDifferenceRequestWeight;
@override final  double? barDifferenceRequestQuantity;
@override final  dynamic healthCertificate;
@override final  int? samasatDischargePercentage;
@override final  String? personTypeName;
@override final  String? interactTypeName;
@override final  String? unionTypeName;
@override final  String? certId;
@override final  int? increaseQuantity;
@override final  dynamic tenantFullname;
@override final  dynamic tenantNationalCode;
@override final  dynamic tenantMobile;
@override final  dynamic tenantCity;
@override final  bool? hasTenant;
@override final  dynamic createdBy;
@override final  dynamic modifiedBy;
@override final  int? poultry;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _HatchingDetails&&(identical(other.id, id) || other.id == id)&&(identical(other.chainCompany, chainCompany) || other.chainCompany == chainCompany)&&(identical(other.age, age) || other.age == age)&&const DeepCollectionEquality().equals(other.inspectionLosses, inspectionLosses)&&(identical(other.vetFarm, vetFarm) || other.vetFarm == vetFarm)&&(identical(other.activeKill, activeKill) || other.activeKill == activeKill)&&(identical(other.killingInfo, killingInfo) || other.killingInfo == killingInfo)&&(identical(other.freeGovernmentalInfo, freeGovernmentalInfo) || other.freeGovernmentalInfo == freeGovernmentalInfo)&&(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.hasChainCompany, hasChainCompany) || other.hasChainCompany == hasChainCompany)&&const DeepCollectionEquality().equals(other.poultryIdForeignKey, poultryIdForeignKey)&&const DeepCollectionEquality().equals(other.poultryHatchingIdKey, poultryHatchingIdKey)&&(identical(other.quantity, quantity) || other.quantity == quantity)&&(identical(other.losses, losses) || other.losses == losses)&&(identical(other.leftOver, leftOver) || other.leftOver == leftOver)&&(identical(other.killedQuantity, killedQuantity) || other.killedQuantity == killedQuantity)&&(identical(other.extraKilledQuantity, extraKilledQuantity) || other.extraKilledQuantity == extraKilledQuantity)&&(identical(other.governmentalKilledQuantity, governmentalKilledQuantity) || other.governmentalKilledQuantity == governmentalKilledQuantity)&&(identical(other.governmentalQuantity, governmentalQuantity) || other.governmentalQuantity == governmentalQuantity)&&(identical(other.freeKilledQuantity, freeKilledQuantity) || other.freeKilledQuantity == freeKilledQuantity)&&(identical(other.freeQuantity, freeQuantity) || other.freeQuantity == freeQuantity)&&(identical(other.chainKilledQuantity, chainKilledQuantity) || other.chainKilledQuantity == chainKilledQuantity)&&(identical(other.chainKilledWeight, chainKilledWeight) || other.chainKilledWeight == chainKilledWeight)&&(identical(other.outProvinceKilledWeight, outProvinceKilledWeight) || other.outProvinceKilledWeight == outProvinceKilledWeight)&&(identical(other.outProvinceKilledQuantity, outProvinceKilledQuantity) || other.outProvinceKilledQuantity == outProvinceKilledQuantity)&&(identical(other.exportKilledWeight, exportKilledWeight) || other.exportKilledWeight == exportKilledWeight)&&(identical(other.exportKilledQuantity, exportKilledQuantity) || other.exportKilledQuantity == exportKilledQuantity)&&(identical(other.totalCommitment, totalCommitment) || other.totalCommitment == totalCommitment)&&(identical(other.commitmentType, commitmentType) || other.commitmentType == commitmentType)&&(identical(other.totalCommitmentQuantity, totalCommitmentQuantity) || other.totalCommitmentQuantity == totalCommitmentQuantity)&&(identical(other.totalFreeCommitmentQuantity, totalFreeCommitmentQuantity) || other.totalFreeCommitmentQuantity == totalFreeCommitmentQuantity)&&(identical(other.totalFreeCommitmentWeight, totalFreeCommitmentWeight) || other.totalFreeCommitmentWeight == totalFreeCommitmentWeight)&&(identical(other.totalKilledWeight, totalKilledWeight) || other.totalKilledWeight == totalKilledWeight)&&(identical(other.totalAverageKilledWeight, totalAverageKilledWeight) || other.totalAverageKilledWeight == totalAverageKilledWeight)&&(identical(other.requestLeftOver, requestLeftOver) || other.requestLeftOver == requestLeftOver)&&(identical(other.hall, hall) || other.hall == hall)&&(identical(other.date, date) || other.date == date)&&(identical(other.predicateDate, predicateDate) || other.predicateDate == predicateDate)&&(identical(other.chickenBreed, chickenBreed) || other.chickenBreed == chickenBreed)&&(identical(other.period, period) || other.period == period)&&(identical(other.allowHatching, allowHatching) || other.allowHatching == allowHatching)&&(identical(other.state, state) || other.state == state)&&(identical(other.archive, archive) || other.archive == archive)&&(identical(other.violation, violation) || other.violation == violation)&&const DeepCollectionEquality().equals(other.message, message)&&const DeepCollectionEquality().equals(other.registrar, registrar)&&const DeepCollectionEquality().equals(other._breed, _breed)&&(identical(other.cityNumber, cityNumber) || other.cityNumber == cityNumber)&&(identical(other.cityName, cityName) || other.cityName == cityName)&&(identical(other.provinceNumber, provinceNumber) || other.provinceNumber == provinceNumber)&&(identical(other.provinceName, provinceName) || other.provinceName == provinceName)&&(identical(other.lastChange, lastChange) || other.lastChange == lastChange)&&(identical(other.chickenAge, chickenAge) || other.chickenAge == chickenAge)&&(identical(other.nowAge, nowAge) || other.nowAge == nowAge)&&(identical(other.latestHatchingChange, latestHatchingChange) || other.latestHatchingChange == latestHatchingChange)&&const DeepCollectionEquality().equals(other.violationReport, violationReport)&&(identical(other.violationMessage, violationMessage) || other.violationMessage == violationMessage)&&const DeepCollectionEquality().equals(other.violationImage, violationImage)&&const DeepCollectionEquality().equals(other.violationReporter, violationReporter)&&const DeepCollectionEquality().equals(other.violationReportDate, violationReportDate)&&const DeepCollectionEquality().equals(other.violationReportEditor, violationReportEditor)&&const DeepCollectionEquality().equals(other.violationReportEditDate, violationReportEditDate)&&(identical(other.totalLosses, totalLosses) || other.totalLosses == totalLosses)&&(identical(other.directLosses, directLosses) || other.directLosses == directLosses)&&const DeepCollectionEquality().equals(other.directLossesInputer, directLossesInputer)&&const DeepCollectionEquality().equals(other.directLossesDate, directLossesDate)&&const DeepCollectionEquality().equals(other.directLossesEditor, directLossesEditor)&&const DeepCollectionEquality().equals(other.directLossesLastEditDate, directLossesLastEditDate)&&const DeepCollectionEquality().equals(other.endPeriodLossesInputer, endPeriodLossesInputer)&&const DeepCollectionEquality().equals(other.endPeriodLossesDate, endPeriodLossesDate)&&const DeepCollectionEquality().equals(other.endPeriodLossesEditor, endPeriodLossesEditor)&&const DeepCollectionEquality().equals(other.endPeriodLossesLastEditDate, endPeriodLossesLastEditDate)&&(identical(other.breedingUniqueId, breedingUniqueId) || other.breedingUniqueId == breedingUniqueId)&&(identical(other.licenceNumber, licenceNumber) || other.licenceNumber == licenceNumber)&&(identical(other.temporaryTrash, temporaryTrash) || other.temporaryTrash == temporaryTrash)&&(identical(other.temporaryDeleted, temporaryDeleted) || other.temporaryDeleted == temporaryDeleted)&&const DeepCollectionEquality().equals(other.firstDateInputArchive, firstDateInputArchive)&&const DeepCollectionEquality().equals(other.secondDateInputArchive, secondDateInputArchive)&&const DeepCollectionEquality().equals(other.inputArchiver, inputArchiver)&&const DeepCollectionEquality().equals(other.outputArchiveDate, outputArchiveDate)&&const DeepCollectionEquality().equals(other.outputArchiver, outputArchiver)&&(identical(other.barDifferenceRequestWeight, barDifferenceRequestWeight) || other.barDifferenceRequestWeight == barDifferenceRequestWeight)&&(identical(other.barDifferenceRequestQuantity, barDifferenceRequestQuantity) || other.barDifferenceRequestQuantity == barDifferenceRequestQuantity)&&const DeepCollectionEquality().equals(other.healthCertificate, healthCertificate)&&(identical(other.samasatDischargePercentage, samasatDischargePercentage) || other.samasatDischargePercentage == samasatDischargePercentage)&&(identical(other.personTypeName, personTypeName) || other.personTypeName == personTypeName)&&(identical(other.interactTypeName, interactTypeName) || other.interactTypeName == interactTypeName)&&(identical(other.unionTypeName, unionTypeName) || other.unionTypeName == unionTypeName)&&(identical(other.certId, certId) || other.certId == certId)&&(identical(other.increaseQuantity, increaseQuantity) || other.increaseQuantity == increaseQuantity)&&const DeepCollectionEquality().equals(other.tenantFullname, tenantFullname)&&const DeepCollectionEquality().equals(other.tenantNationalCode, tenantNationalCode)&&const DeepCollectionEquality().equals(other.tenantMobile, tenantMobile)&&const DeepCollectionEquality().equals(other.tenantCity, tenantCity)&&(identical(other.hasTenant, hasTenant) || other.hasTenant == hasTenant)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&(identical(other.poultry, poultry) || other.poultry == poultry));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,chainCompany,age,const DeepCollectionEquality().hash(inspectionLosses),vetFarm,activeKill,killingInfo,freeGovernmentalInfo,key,createDate,modifyDate,trash,hasChainCompany,const DeepCollectionEquality().hash(poultryIdForeignKey),const DeepCollectionEquality().hash(poultryHatchingIdKey),quantity,losses,leftOver,killedQuantity,extraKilledQuantity,governmentalKilledQuantity,governmentalQuantity,freeKilledQuantity,freeQuantity,chainKilledQuantity,chainKilledWeight,outProvinceKilledWeight,outProvinceKilledQuantity,exportKilledWeight,exportKilledQuantity,totalCommitment,commitmentType,totalCommitmentQuantity,totalFreeCommitmentQuantity,totalFreeCommitmentWeight,totalKilledWeight,totalAverageKilledWeight,requestLeftOver,hall,date,predicateDate,chickenBreed,period,allowHatching,state,archive,violation,const DeepCollectionEquality().hash(message),const DeepCollectionEquality().hash(registrar),const DeepCollectionEquality().hash(_breed),cityNumber,cityName,provinceNumber,provinceName,lastChange,chickenAge,nowAge,latestHatchingChange,const DeepCollectionEquality().hash(violationReport),violationMessage,const DeepCollectionEquality().hash(violationImage),const DeepCollectionEquality().hash(violationReporter),const DeepCollectionEquality().hash(violationReportDate),const DeepCollectionEquality().hash(violationReportEditor),const DeepCollectionEquality().hash(violationReportEditDate),totalLosses,directLosses,const DeepCollectionEquality().hash(directLossesInputer),const DeepCollectionEquality().hash(directLossesDate),const DeepCollectionEquality().hash(directLossesEditor),const DeepCollectionEquality().hash(directLossesLastEditDate),const DeepCollectionEquality().hash(endPeriodLossesInputer),const DeepCollectionEquality().hash(endPeriodLossesDate),const DeepCollectionEquality().hash(endPeriodLossesEditor),const DeepCollectionEquality().hash(endPeriodLossesLastEditDate),breedingUniqueId,licenceNumber,temporaryTrash,temporaryDeleted,const DeepCollectionEquality().hash(firstDateInputArchive),const DeepCollectionEquality().hash(secondDateInputArchive),const DeepCollectionEquality().hash(inputArchiver),const DeepCollectionEquality().hash(outputArchiveDate),const DeepCollectionEquality().hash(outputArchiver),barDifferenceRequestWeight,barDifferenceRequestQuantity,const DeepCollectionEquality().hash(healthCertificate),samasatDischargePercentage,personTypeName,interactTypeName,unionTypeName,certId,increaseQuantity,const DeepCollectionEquality().hash(tenantFullname),const DeepCollectionEquality().hash(tenantNationalCode),const DeepCollectionEquality().hash(tenantMobile),const DeepCollectionEquality().hash(tenantCity),hasTenant,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),poultry]);

@override
String toString() {
  return 'HatchingDetails(id: $id, chainCompany: $chainCompany, age: $age, inspectionLosses: $inspectionLosses, vetFarm: $vetFarm, activeKill: $activeKill, killingInfo: $killingInfo, freeGovernmentalInfo: $freeGovernmentalInfo, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, hasChainCompany: $hasChainCompany, poultryIdForeignKey: $poultryIdForeignKey, poultryHatchingIdKey: $poultryHatchingIdKey, quantity: $quantity, losses: $losses, leftOver: $leftOver, killedQuantity: $killedQuantity, extraKilledQuantity: $extraKilledQuantity, governmentalKilledQuantity: $governmentalKilledQuantity, governmentalQuantity: $governmentalQuantity, freeKilledQuantity: $freeKilledQuantity, freeQuantity: $freeQuantity, chainKilledQuantity: $chainKilledQuantity, chainKilledWeight: $chainKilledWeight, outProvinceKilledWeight: $outProvinceKilledWeight, outProvinceKilledQuantity: $outProvinceKilledQuantity, exportKilledWeight: $exportKilledWeight, exportKilledQuantity: $exportKilledQuantity, totalCommitment: $totalCommitment, commitmentType: $commitmentType, totalCommitmentQuantity: $totalCommitmentQuantity, totalFreeCommitmentQuantity: $totalFreeCommitmentQuantity, totalFreeCommitmentWeight: $totalFreeCommitmentWeight, totalKilledWeight: $totalKilledWeight, totalAverageKilledWeight: $totalAverageKilledWeight, requestLeftOver: $requestLeftOver, hall: $hall, date: $date, predicateDate: $predicateDate, chickenBreed: $chickenBreed, period: $period, allowHatching: $allowHatching, state: $state, archive: $archive, violation: $violation, message: $message, registrar: $registrar, breed: $breed, cityNumber: $cityNumber, cityName: $cityName, provinceNumber: $provinceNumber, provinceName: $provinceName, lastChange: $lastChange, chickenAge: $chickenAge, nowAge: $nowAge, latestHatchingChange: $latestHatchingChange, violationReport: $violationReport, violationMessage: $violationMessage, violationImage: $violationImage, violationReporter: $violationReporter, violationReportDate: $violationReportDate, violationReportEditor: $violationReportEditor, violationReportEditDate: $violationReportEditDate, totalLosses: $totalLosses, directLosses: $directLosses, directLossesInputer: $directLossesInputer, directLossesDate: $directLossesDate, directLossesEditor: $directLossesEditor, directLossesLastEditDate: $directLossesLastEditDate, endPeriodLossesInputer: $endPeriodLossesInputer, endPeriodLossesDate: $endPeriodLossesDate, endPeriodLossesEditor: $endPeriodLossesEditor, endPeriodLossesLastEditDate: $endPeriodLossesLastEditDate, breedingUniqueId: $breedingUniqueId, licenceNumber: $licenceNumber, temporaryTrash: $temporaryTrash, temporaryDeleted: $temporaryDeleted, firstDateInputArchive: $firstDateInputArchive, secondDateInputArchive: $secondDateInputArchive, inputArchiver: $inputArchiver, outputArchiveDate: $outputArchiveDate, outputArchiver: $outputArchiver, barDifferenceRequestWeight: $barDifferenceRequestWeight, barDifferenceRequestQuantity: $barDifferenceRequestQuantity, healthCertificate: $healthCertificate, samasatDischargePercentage: $samasatDischargePercentage, personTypeName: $personTypeName, interactTypeName: $interactTypeName, unionTypeName: $unionTypeName, certId: $certId, increaseQuantity: $increaseQuantity, tenantFullname: $tenantFullname, tenantNationalCode: $tenantNationalCode, tenantMobile: $tenantMobile, tenantCity: $tenantCity, hasTenant: $hasTenant, createdBy: $createdBy, modifiedBy: $modifiedBy, poultry: $poultry)';
}


}

/// @nodoc
abstract mixin class _$HatchingDetailsCopyWith<$Res> implements $HatchingDetailsCopyWith<$Res> {
  factory _$HatchingDetailsCopyWith(_HatchingDetails value, $Res Function(_HatchingDetails) _then) = __$HatchingDetailsCopyWithImpl;
@override @useResult
$Res call({
 int? id, String? chainCompany, int? age, dynamic inspectionLosses, VetFarm? vetFarm, ActiveKill? activeKill, KillingInfo? killingInfo, FreeGovernmentalInfo? freeGovernmentalInfo, String? key, DateTime? createDate, DateTime? modifyDate, bool? trash, bool? hasChainCompany, dynamic poultryIdForeignKey, dynamic poultryHatchingIdKey, int? quantity, int? losses, int? leftOver, int? killedQuantity, int? extraKilledQuantity, double? governmentalKilledQuantity, double? governmentalQuantity, double? freeKilledQuantity, double? freeQuantity, double? chainKilledQuantity, double? chainKilledWeight, double? outProvinceKilledWeight, double? outProvinceKilledQuantity, double? exportKilledWeight, double? exportKilledQuantity, double? totalCommitment, String? commitmentType, double? totalCommitmentQuantity, double? totalFreeCommitmentQuantity, double? totalFreeCommitmentWeight, double? totalKilledWeight, double? totalAverageKilledWeight, int? requestLeftOver, int? hall, DateTime? date, DateTime? predicateDate, String? chickenBreed, int? period, String? allowHatching, String? state, bool? archive, bool? violation, dynamic message, dynamic registrar, List<Breed>? breed, int? cityNumber, String? cityName, int? provinceNumber, String? provinceName, LastChange? lastChange, int? chickenAge, int? nowAge, LatestHatchingChange? latestHatchingChange, dynamic violationReport, String? violationMessage, dynamic violationImage, dynamic violationReporter, dynamic violationReportDate, dynamic violationReportEditor, dynamic violationReportEditDate, int? totalLosses, int? directLosses, dynamic directLossesInputer, dynamic directLossesDate, dynamic directLossesEditor, dynamic directLossesLastEditDate, dynamic endPeriodLossesInputer, dynamic endPeriodLossesDate, dynamic endPeriodLossesEditor, dynamic endPeriodLossesLastEditDate, String? breedingUniqueId, String? licenceNumber, bool? temporaryTrash, bool? temporaryDeleted, dynamic firstDateInputArchive, dynamic secondDateInputArchive, dynamic inputArchiver, dynamic outputArchiveDate, dynamic outputArchiver, double? barDifferenceRequestWeight, double? barDifferenceRequestQuantity, dynamic healthCertificate, int? samasatDischargePercentage, String? personTypeName, String? interactTypeName, String? unionTypeName, String? certId, int? increaseQuantity, dynamic tenantFullname, dynamic tenantNationalCode, dynamic tenantMobile, dynamic tenantCity, bool? hasTenant, dynamic createdBy, dynamic modifiedBy, int? poultry
});


@override $VetFarmCopyWith<$Res>? get vetFarm;@override $ActiveKillCopyWith<$Res>? get activeKill;@override $KillingInfoCopyWith<$Res>? get killingInfo;@override $FreeGovernmentalInfoCopyWith<$Res>? get freeGovernmentalInfo;@override $LastChangeCopyWith<$Res>? get lastChange;@override $LatestHatchingChangeCopyWith<$Res>? get latestHatchingChange;

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

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

/// Create a copy of HatchingDetails
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? chainCompany = freezed,Object? age = freezed,Object? inspectionLosses = freezed,Object? vetFarm = freezed,Object? activeKill = freezed,Object? killingInfo = freezed,Object? freeGovernmentalInfo = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? hasChainCompany = freezed,Object? poultryIdForeignKey = freezed,Object? poultryHatchingIdKey = freezed,Object? quantity = freezed,Object? losses = freezed,Object? leftOver = freezed,Object? killedQuantity = freezed,Object? extraKilledQuantity = freezed,Object? governmentalKilledQuantity = freezed,Object? governmentalQuantity = freezed,Object? freeKilledQuantity = freezed,Object? freeQuantity = freezed,Object? chainKilledQuantity = freezed,Object? chainKilledWeight = freezed,Object? outProvinceKilledWeight = freezed,Object? outProvinceKilledQuantity = freezed,Object? exportKilledWeight = freezed,Object? exportKilledQuantity = freezed,Object? totalCommitment = freezed,Object? commitmentType = freezed,Object? totalCommitmentQuantity = freezed,Object? totalFreeCommitmentQuantity = freezed,Object? totalFreeCommitmentWeight = freezed,Object? totalKilledWeight = freezed,Object? totalAverageKilledWeight = freezed,Object? requestLeftOver = freezed,Object? hall = freezed,Object? date = freezed,Object? predicateDate = freezed,Object? chickenBreed = freezed,Object? period = freezed,Object? allowHatching = freezed,Object? state = freezed,Object? archive = freezed,Object? violation = freezed,Object? message = freezed,Object? registrar = freezed,Object? breed = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? lastChange = freezed,Object? chickenAge = freezed,Object? nowAge = freezed,Object? latestHatchingChange = freezed,Object? violationReport = freezed,Object? violationMessage = freezed,Object? violationImage = freezed,Object? violationReporter = freezed,Object? violationReportDate = freezed,Object? violationReportEditor = freezed,Object? violationReportEditDate = freezed,Object? totalLosses = freezed,Object? directLosses = freezed,Object? directLossesInputer = freezed,Object? directLossesDate = freezed,Object? directLossesEditor = freezed,Object? directLossesLastEditDate = freezed,Object? endPeriodLossesInputer = freezed,Object? endPeriodLossesDate = freezed,Object? endPeriodLossesEditor = freezed,Object? endPeriodLossesLastEditDate = freezed,Object? breedingUniqueId = freezed,Object? licenceNumber = freezed,Object? temporaryTrash = freezed,Object? temporaryDeleted = freezed,Object? firstDateInputArchive = freezed,Object? secondDateInputArchive = freezed,Object? inputArchiver = freezed,Object? outputArchiveDate = freezed,Object? outputArchiver = freezed,Object? barDifferenceRequestWeight = freezed,Object? barDifferenceRequestQuantity = freezed,Object? healthCertificate = freezed,Object? samasatDischargePercentage = freezed,Object? personTypeName = freezed,Object? interactTypeName = freezed,Object? unionTypeName = freezed,Object? certId = freezed,Object? increaseQuantity = freezed,Object? tenantFullname = freezed,Object? tenantNationalCode = freezed,Object? tenantMobile = freezed,Object? tenantCity = freezed,Object? hasTenant = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? poultry = freezed,}) {
  return _then(_HatchingDetails(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,chainCompany: freezed == chainCompany ? _self.chainCompany : chainCompany // ignore: cast_nullable_to_non_nullable
as String?,age: freezed == age ? _self.age : age // ignore: cast_nullable_to_non_nullable
as int?,inspectionLosses: freezed == inspectionLosses ? _self.inspectionLosses : inspectionLosses // ignore: cast_nullable_to_non_nullable
as dynamic,vetFarm: freezed == vetFarm ? _self.vetFarm : vetFarm // ignore: cast_nullable_to_non_nullable
as VetFarm?,activeKill: freezed == activeKill ? _self.activeKill : activeKill // ignore: cast_nullable_to_non_nullable
as ActiveKill?,killingInfo: freezed == killingInfo ? _self.killingInfo : killingInfo // ignore: cast_nullable_to_non_nullable
as KillingInfo?,freeGovernmentalInfo: freezed == freeGovernmentalInfo ? _self.freeGovernmentalInfo : freeGovernmentalInfo // ignore: cast_nullable_to_non_nullable
as FreeGovernmentalInfo?,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 DateTime?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as DateTime?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,hasChainCompany: freezed == hasChainCompany ? _self.hasChainCompany : hasChainCompany // ignore: cast_nullable_to_non_nullable
as bool?,poultryIdForeignKey: freezed == poultryIdForeignKey ? _self.poultryIdForeignKey : poultryIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,poultryHatchingIdKey: freezed == poultryHatchingIdKey ? _self.poultryHatchingIdKey : poultryHatchingIdKey // ignore: cast_nullable_to_non_nullable
as dynamic,quantity: freezed == quantity ? _self.quantity : quantity // ignore: cast_nullable_to_non_nullable
as int?,losses: freezed == losses ? _self.losses : losses // ignore: cast_nullable_to_non_nullable
as int?,leftOver: freezed == leftOver ? _self.leftOver : leftOver // ignore: cast_nullable_to_non_nullable
as int?,killedQuantity: freezed == killedQuantity ? _self.killedQuantity : killedQuantity // ignore: cast_nullable_to_non_nullable
as int?,extraKilledQuantity: freezed == extraKilledQuantity ? _self.extraKilledQuantity : extraKilledQuantity // ignore: cast_nullable_to_non_nullable
as int?,governmentalKilledQuantity: freezed == governmentalKilledQuantity ? _self.governmentalKilledQuantity : governmentalKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,governmentalQuantity: freezed == governmentalQuantity ? _self.governmentalQuantity : governmentalQuantity // ignore: cast_nullable_to_non_nullable
as double?,freeKilledQuantity: freezed == freeKilledQuantity ? _self.freeKilledQuantity : freeKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,freeQuantity: freezed == freeQuantity ? _self.freeQuantity : freeQuantity // ignore: cast_nullable_to_non_nullable
as double?,chainKilledQuantity: freezed == chainKilledQuantity ? _self.chainKilledQuantity : chainKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,chainKilledWeight: freezed == chainKilledWeight ? _self.chainKilledWeight : chainKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,outProvinceKilledWeight: freezed == outProvinceKilledWeight ? _self.outProvinceKilledWeight : outProvinceKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,outProvinceKilledQuantity: freezed == outProvinceKilledQuantity ? _self.outProvinceKilledQuantity : outProvinceKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,exportKilledWeight: freezed == exportKilledWeight ? _self.exportKilledWeight : exportKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,exportKilledQuantity: freezed == exportKilledQuantity ? _self.exportKilledQuantity : exportKilledQuantity // ignore: cast_nullable_to_non_nullable
as double?,totalCommitment: freezed == totalCommitment ? _self.totalCommitment : totalCommitment // ignore: cast_nullable_to_non_nullable
as double?,commitmentType: freezed == commitmentType ? _self.commitmentType : commitmentType // ignore: cast_nullable_to_non_nullable
as String?,totalCommitmentQuantity: freezed == totalCommitmentQuantity ? _self.totalCommitmentQuantity : totalCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,totalFreeCommitmentQuantity: freezed == totalFreeCommitmentQuantity ? _self.totalFreeCommitmentQuantity : totalFreeCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,totalFreeCommitmentWeight: freezed == totalFreeCommitmentWeight ? _self.totalFreeCommitmentWeight : totalFreeCommitmentWeight // ignore: cast_nullable_to_non_nullable
as double?,totalKilledWeight: freezed == totalKilledWeight ? _self.totalKilledWeight : totalKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,totalAverageKilledWeight: freezed == totalAverageKilledWeight ? _self.totalAverageKilledWeight : totalAverageKilledWeight // ignore: cast_nullable_to_non_nullable
as double?,requestLeftOver: freezed == requestLeftOver ? _self.requestLeftOver : requestLeftOver // ignore: cast_nullable_to_non_nullable
as int?,hall: freezed == hall ? _self.hall : hall // ignore: cast_nullable_to_non_nullable
as int?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as DateTime?,predicateDate: freezed == predicateDate ? _self.predicateDate : predicateDate // ignore: cast_nullable_to_non_nullable
as DateTime?,chickenBreed: freezed == chickenBreed ? _self.chickenBreed : chickenBreed // ignore: cast_nullable_to_non_nullable
as String?,period: freezed == period ? _self.period : period // ignore: cast_nullable_to_non_nullable
as int?,allowHatching: freezed == allowHatching ? _self.allowHatching : allowHatching // ignore: cast_nullable_to_non_nullable
as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
as String?,archive: freezed == archive ? _self.archive : archive // ignore: cast_nullable_to_non_nullable
as bool?,violation: freezed == violation ? _self.violation : violation // ignore: cast_nullable_to_non_nullable
as bool?,message: freezed == message ? _self.message : message // ignore: cast_nullable_to_non_nullable
as dynamic,registrar: freezed == registrar ? _self.registrar : registrar // ignore: cast_nullable_to_non_nullable
as dynamic,breed: freezed == breed ? _self._breed : breed // ignore: cast_nullable_to_non_nullable
as List<Breed>?,cityNumber: freezed == cityNumber ? _self.cityNumber : cityNumber // ignore: cast_nullable_to_non_nullable
as int?,cityName: freezed == cityName ? _self.cityName : cityName // ignore: cast_nullable_to_non_nullable
as String?,provinceNumber: freezed == provinceNumber ? _self.provinceNumber : provinceNumber // ignore: cast_nullable_to_non_nullable
as int?,provinceName: freezed == provinceName ? _self.provinceName : provinceName // ignore: cast_nullable_to_non_nullable
as String?,lastChange: freezed == lastChange ? _self.lastChange : lastChange // ignore: cast_nullable_to_non_nullable
as LastChange?,chickenAge: freezed == chickenAge ? _self.chickenAge : chickenAge // ignore: cast_nullable_to_non_nullable
as int?,nowAge: freezed == nowAge ? _self.nowAge : nowAge // ignore: cast_nullable_to_non_nullable
as int?,latestHatchingChange: freezed == latestHatchingChange ? _self.latestHatchingChange : latestHatchingChange // ignore: cast_nullable_to_non_nullable
as LatestHatchingChange?,violationReport: freezed == violationReport ? _self.violationReport : violationReport // ignore: cast_nullable_to_non_nullable
as dynamic,violationMessage: freezed == violationMessage ? _self.violationMessage : violationMessage // ignore: cast_nullable_to_non_nullable
as String?,violationImage: freezed == violationImage ? _self.violationImage : violationImage // ignore: cast_nullable_to_non_nullable
as dynamic,violationReporter: freezed == violationReporter ? _self.violationReporter : violationReporter // ignore: cast_nullable_to_non_nullable
as dynamic,violationReportDate: freezed == violationReportDate ? _self.violationReportDate : violationReportDate // ignore: cast_nullable_to_non_nullable
as dynamic,violationReportEditor: freezed == violationReportEditor ? _self.violationReportEditor : violationReportEditor // ignore: cast_nullable_to_non_nullable
as dynamic,violationReportEditDate: freezed == violationReportEditDate ? _self.violationReportEditDate : violationReportEditDate // ignore: cast_nullable_to_non_nullable
as dynamic,totalLosses: freezed == totalLosses ? _self.totalLosses : totalLosses // ignore: cast_nullable_to_non_nullable
as int?,directLosses: freezed == directLosses ? _self.directLosses : directLosses // ignore: cast_nullable_to_non_nullable
as int?,directLossesInputer: freezed == directLossesInputer ? _self.directLossesInputer : directLossesInputer // ignore: cast_nullable_to_non_nullable
as dynamic,directLossesDate: freezed == directLossesDate ? _self.directLossesDate : directLossesDate // ignore: cast_nullable_to_non_nullable
as dynamic,directLossesEditor: freezed == directLossesEditor ? _self.directLossesEditor : directLossesEditor // ignore: cast_nullable_to_non_nullable
as dynamic,directLossesLastEditDate: freezed == directLossesLastEditDate ? _self.directLossesLastEditDate : directLossesLastEditDate // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesInputer: freezed == endPeriodLossesInputer ? _self.endPeriodLossesInputer : endPeriodLossesInputer // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesDate: freezed == endPeriodLossesDate ? _self.endPeriodLossesDate : endPeriodLossesDate // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesEditor: freezed == endPeriodLossesEditor ? _self.endPeriodLossesEditor : endPeriodLossesEditor // ignore: cast_nullable_to_non_nullable
as dynamic,endPeriodLossesLastEditDate: freezed == endPeriodLossesLastEditDate ? _self.endPeriodLossesLastEditDate : endPeriodLossesLastEditDate // ignore: cast_nullable_to_non_nullable
as dynamic,breedingUniqueId: freezed == breedingUniqueId ? _self.breedingUniqueId : breedingUniqueId // ignore: cast_nullable_to_non_nullable
as String?,licenceNumber: freezed == licenceNumber ? _self.licenceNumber : licenceNumber // ignore: cast_nullable_to_non_nullable
as String?,temporaryTrash: freezed == temporaryTrash ? _self.temporaryTrash : temporaryTrash // ignore: cast_nullable_to_non_nullable
as bool?,temporaryDeleted: freezed == temporaryDeleted ? _self.temporaryDeleted : temporaryDeleted // ignore: cast_nullable_to_non_nullable
as bool?,firstDateInputArchive: freezed == firstDateInputArchive ? _self.firstDateInputArchive : firstDateInputArchive // ignore: cast_nullable_to_non_nullable
as dynamic,secondDateInputArchive: freezed == secondDateInputArchive ? _self.secondDateInputArchive : secondDateInputArchive // ignore: cast_nullable_to_non_nullable
as dynamic,inputArchiver: freezed == inputArchiver ? _self.inputArchiver : inputArchiver // ignore: cast_nullable_to_non_nullable
as dynamic,outputArchiveDate: freezed == outputArchiveDate ? _self.outputArchiveDate : outputArchiveDate // ignore: cast_nullable_to_non_nullable
as dynamic,outputArchiver: freezed == outputArchiver ? _self.outputArchiver : outputArchiver // ignore: cast_nullable_to_non_nullable
as dynamic,barDifferenceRequestWeight: freezed == barDifferenceRequestWeight ? _self.barDifferenceRequestWeight : barDifferenceRequestWeight // ignore: cast_nullable_to_non_nullable
as double?,barDifferenceRequestQuantity: freezed == barDifferenceRequestQuantity ? _self.barDifferenceRequestQuantity : barDifferenceRequestQuantity // ignore: cast_nullable_to_non_nullable
as double?,healthCertificate: freezed == healthCertificate ? _self.healthCertificate : healthCertificate // ignore: cast_nullable_to_non_nullable
as dynamic,samasatDischargePercentage: freezed == samasatDischargePercentage ? _self.samasatDischargePercentage : samasatDischargePercentage // ignore: cast_nullable_to_non_nullable
as int?,personTypeName: freezed == personTypeName ? _self.personTypeName : personTypeName // ignore: cast_nullable_to_non_nullable
as String?,interactTypeName: freezed == interactTypeName ? _self.interactTypeName : interactTypeName // ignore: cast_nullable_to_non_nullable
as String?,unionTypeName: freezed == unionTypeName ? _self.unionTypeName : unionTypeName // ignore: cast_nullable_to_non_nullable
as String?,certId: freezed == certId ? _self.certId : certId // ignore: cast_nullable_to_non_nullable
as String?,increaseQuantity: freezed == increaseQuantity ? _self.increaseQuantity : increaseQuantity // ignore: cast_nullable_to_non_nullable
as int?,tenantFullname: freezed == tenantFullname ? _self.tenantFullname : tenantFullname // ignore: cast_nullable_to_non_nullable
as dynamic,tenantNationalCode: freezed == tenantNationalCode ? _self.tenantNationalCode : tenantNationalCode // ignore: cast_nullable_to_non_nullable
as dynamic,tenantMobile: freezed == tenantMobile ? _self.tenantMobile : tenantMobile // ignore: cast_nullable_to_non_nullable
as dynamic,tenantCity: freezed == tenantCity ? _self.tenantCity : tenantCity // ignore: cast_nullable_to_non_nullable
as dynamic,hasTenant: freezed == hasTenant ? _self.hasTenant : hasTenant // ignore: cast_nullable_to_non_nullable
as bool?,createdBy: freezed == createdBy ? _self.createdBy : createdBy // ignore: cast_nullable_to_non_nullable
as dynamic,modifiedBy: freezed == modifiedBy ? _self.modifiedBy : modifiedBy // ignore: cast_nullable_to_non_nullable
as dynamic,poultry: freezed == poultry ? _self.poultry : poultry // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}

/// Create a copy of HatchingDetails
/// 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));
  });
}/// Create a copy of HatchingDetails
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ActiveKillCopyWith<$Res>? get activeKill {
    if (_self.activeKill == null) {
    return null;
  }

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

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

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

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

  return $LatestHatchingChangeCopyWith<$Res>(_self.latestHatchingChange!, (value) {
    return _then(_self.copyWith(latestHatchingChange: 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 _$ActiveKill {

 bool? get activeKill; int? get countOfRequest;
/// Create a copy of ActiveKill
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$ActiveKillCopyWith<ActiveKill> get copyWith => _$ActiveKillCopyWithImpl<ActiveKill>(this as ActiveKill, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is ActiveKill&&(identical(other.activeKill, activeKill) || other.activeKill == activeKill)&&(identical(other.countOfRequest, countOfRequest) || other.countOfRequest == countOfRequest));
}

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

@override
String toString() {
  return 'ActiveKill(activeKill: $activeKill, countOfRequest: $countOfRequest)';
}


}

/// @nodoc
abstract mixin class $ActiveKillCopyWith<$Res>  {
  factory $ActiveKillCopyWith(ActiveKill value, $Res Function(ActiveKill) _then) = _$ActiveKillCopyWithImpl;
@useResult
$Res call({
 bool? activeKill, int? countOfRequest
});




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

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

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

}


/// Adds pattern-matching-related methods to [ActiveKill].
extension ActiveKillPatterns on ActiveKill {
/// 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( _ActiveKill value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _ActiveKill() 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( _ActiveKill value)  $default,){
final _that = this;
switch (_that) {
case _ActiveKill():
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( _ActiveKill value)?  $default,){
final _that = this;
switch (_that) {
case _ActiveKill() 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( bool? activeKill,  int? countOfRequest)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _ActiveKill() when $default != null:
return $default(_that.activeKill,_that.countOfRequest);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( bool? activeKill,  int? countOfRequest)  $default,) {final _that = this;
switch (_that) {
case _ActiveKill():
return $default(_that.activeKill,_that.countOfRequest);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( bool? activeKill,  int? countOfRequest)?  $default,) {final _that = this;
switch (_that) {
case _ActiveKill() when $default != null:
return $default(_that.activeKill,_that.countOfRequest);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _ActiveKill implements ActiveKill {
  const _ActiveKill({this.activeKill, this.countOfRequest});
  factory _ActiveKill.fromJson(Map<String, dynamic> json) => _$ActiveKillFromJson(json);

@override final  bool? activeKill;
@override final  int? countOfRequest;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _ActiveKill&&(identical(other.activeKill, activeKill) || other.activeKill == activeKill)&&(identical(other.countOfRequest, countOfRequest) || other.countOfRequest == countOfRequest));
}

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

@override
String toString() {
  return 'ActiveKill(activeKill: $activeKill, countOfRequest: $countOfRequest)';
}


}

/// @nodoc
abstract mixin class _$ActiveKillCopyWith<$Res> implements $ActiveKillCopyWith<$Res> {
  factory _$ActiveKillCopyWith(_ActiveKill value, $Res Function(_ActiveKill) _then) = __$ActiveKillCopyWithImpl;
@override @useResult
$Res call({
 bool? activeKill, int? countOfRequest
});




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

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

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


}


/// @nodoc
mixin _$KillingInfo {

 String? get violationMessage; int? get provinceKillRequests; int? get provinceKillRequestsQuantity; double? get provinceKillRequestsWeight; int? get killHouseRequests; int? get killHouseRequestsFirstQuantity; double? get killHouseRequestsFirstWeight; int? get barCompleteWithKillHouse; int? get acceptedRealQuantityFinal; double? get acceptedRealWightFinal; int? get wareHouseBars; int? get wareHouseBarsQuantity; double? get wareHouseBarsWeight; double? get wareHouseBarsWeightLose;
/// Create a copy of KillingInfo
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$KillingInfoCopyWith<KillingInfo> get copyWith => _$KillingInfoCopyWithImpl<KillingInfo>(this as KillingInfo, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is KillingInfo&&(identical(other.violationMessage, violationMessage) || other.violationMessage == violationMessage)&&(identical(other.provinceKillRequests, provinceKillRequests) || other.provinceKillRequests == provinceKillRequests)&&(identical(other.provinceKillRequestsQuantity, provinceKillRequestsQuantity) || other.provinceKillRequestsQuantity == provinceKillRequestsQuantity)&&(identical(other.provinceKillRequestsWeight, provinceKillRequestsWeight) || other.provinceKillRequestsWeight == provinceKillRequestsWeight)&&(identical(other.killHouseRequests, killHouseRequests) || other.killHouseRequests == killHouseRequests)&&(identical(other.killHouseRequestsFirstQuantity, killHouseRequestsFirstQuantity) || other.killHouseRequestsFirstQuantity == killHouseRequestsFirstQuantity)&&(identical(other.killHouseRequestsFirstWeight, killHouseRequestsFirstWeight) || other.killHouseRequestsFirstWeight == killHouseRequestsFirstWeight)&&(identical(other.barCompleteWithKillHouse, barCompleteWithKillHouse) || other.barCompleteWithKillHouse == barCompleteWithKillHouse)&&(identical(other.acceptedRealQuantityFinal, acceptedRealQuantityFinal) || other.acceptedRealQuantityFinal == acceptedRealQuantityFinal)&&(identical(other.acceptedRealWightFinal, acceptedRealWightFinal) || other.acceptedRealWightFinal == acceptedRealWightFinal)&&(identical(other.wareHouseBars, wareHouseBars) || other.wareHouseBars == wareHouseBars)&&(identical(other.wareHouseBarsQuantity, wareHouseBarsQuantity) || other.wareHouseBarsQuantity == wareHouseBarsQuantity)&&(identical(other.wareHouseBarsWeight, wareHouseBarsWeight) || other.wareHouseBarsWeight == wareHouseBarsWeight)&&(identical(other.wareHouseBarsWeightLose, wareHouseBarsWeightLose) || other.wareHouseBarsWeightLose == wareHouseBarsWeightLose));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,violationMessage,provinceKillRequests,provinceKillRequestsQuantity,provinceKillRequestsWeight,killHouseRequests,killHouseRequestsFirstQuantity,killHouseRequestsFirstWeight,barCompleteWithKillHouse,acceptedRealQuantityFinal,acceptedRealWightFinal,wareHouseBars,wareHouseBarsQuantity,wareHouseBarsWeight,wareHouseBarsWeightLose);

@override
String toString() {
  return 'KillingInfo(violationMessage: $violationMessage, provinceKillRequests: $provinceKillRequests, provinceKillRequestsQuantity: $provinceKillRequestsQuantity, provinceKillRequestsWeight: $provinceKillRequestsWeight, killHouseRequests: $killHouseRequests, killHouseRequestsFirstQuantity: $killHouseRequestsFirstQuantity, killHouseRequestsFirstWeight: $killHouseRequestsFirstWeight, barCompleteWithKillHouse: $barCompleteWithKillHouse, acceptedRealQuantityFinal: $acceptedRealQuantityFinal, acceptedRealWightFinal: $acceptedRealWightFinal, wareHouseBars: $wareHouseBars, wareHouseBarsQuantity: $wareHouseBarsQuantity, wareHouseBarsWeight: $wareHouseBarsWeight, wareHouseBarsWeightLose: $wareHouseBarsWeightLose)';
}


}

/// @nodoc
abstract mixin class $KillingInfoCopyWith<$Res>  {
  factory $KillingInfoCopyWith(KillingInfo value, $Res Function(KillingInfo) _then) = _$KillingInfoCopyWithImpl;
@useResult
$Res call({
 String? violationMessage, int? provinceKillRequests, int? provinceKillRequestsQuantity, double? provinceKillRequestsWeight, int? killHouseRequests, int? killHouseRequestsFirstQuantity, double? killHouseRequestsFirstWeight, int? barCompleteWithKillHouse, int? acceptedRealQuantityFinal, double? acceptedRealWightFinal, int? wareHouseBars, int? wareHouseBarsQuantity, double? wareHouseBarsWeight, double? wareHouseBarsWeightLose
});




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

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

/// Create a copy of KillingInfo
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? violationMessage = freezed,Object? provinceKillRequests = freezed,Object? provinceKillRequestsQuantity = freezed,Object? provinceKillRequestsWeight = freezed,Object? killHouseRequests = freezed,Object? killHouseRequestsFirstQuantity = freezed,Object? killHouseRequestsFirstWeight = freezed,Object? barCompleteWithKillHouse = freezed,Object? acceptedRealQuantityFinal = freezed,Object? acceptedRealWightFinal = freezed,Object? wareHouseBars = freezed,Object? wareHouseBarsQuantity = freezed,Object? wareHouseBarsWeight = freezed,Object? wareHouseBarsWeightLose = freezed,}) {
  return _then(_self.copyWith(
violationMessage: freezed == violationMessage ? _self.violationMessage : violationMessage // ignore: cast_nullable_to_non_nullable
as String?,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?,killHouseRequests: freezed == killHouseRequests ? _self.killHouseRequests : killHouseRequests // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequestsFirstQuantity: freezed == killHouseRequestsFirstQuantity ? _self.killHouseRequestsFirstQuantity : killHouseRequestsFirstQuantity // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequestsFirstWeight: freezed == killHouseRequestsFirstWeight ? _self.killHouseRequestsFirstWeight : killHouseRequestsFirstWeight // ignore: cast_nullable_to_non_nullable
as double?,barCompleteWithKillHouse: freezed == barCompleteWithKillHouse ? _self.barCompleteWithKillHouse : barCompleteWithKillHouse // ignore: cast_nullable_to_non_nullable
as int?,acceptedRealQuantityFinal: freezed == acceptedRealQuantityFinal ? _self.acceptedRealQuantityFinal : acceptedRealQuantityFinal // ignore: cast_nullable_to_non_nullable
as int?,acceptedRealWightFinal: freezed == acceptedRealWightFinal ? _self.acceptedRealWightFinal : acceptedRealWightFinal // ignore: cast_nullable_to_non_nullable
as double?,wareHouseBars: freezed == wareHouseBars ? _self.wareHouseBars : wareHouseBars // ignore: cast_nullable_to_non_nullable
as int?,wareHouseBarsQuantity: freezed == wareHouseBarsQuantity ? _self.wareHouseBarsQuantity : wareHouseBarsQuantity // ignore: cast_nullable_to_non_nullable
as int?,wareHouseBarsWeight: freezed == wareHouseBarsWeight ? _self.wareHouseBarsWeight : wareHouseBarsWeight // ignore: cast_nullable_to_non_nullable
as double?,wareHouseBarsWeightLose: freezed == wareHouseBarsWeightLose ? _self.wareHouseBarsWeightLose : wareHouseBarsWeightLose // ignore: cast_nullable_to_non_nullable
as double?,
  ));
}

}


/// Adds pattern-matching-related methods to [KillingInfo].
extension KillingInfoPatterns on KillingInfo {
/// 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( _KillingInfo value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _KillingInfo() 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( _KillingInfo value)  $default,){
final _that = this;
switch (_that) {
case _KillingInfo():
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( _KillingInfo value)?  $default,){
final _that = this;
switch (_that) {
case _KillingInfo() 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? violationMessage,  int? provinceKillRequests,  int? provinceKillRequestsQuantity,  double? provinceKillRequestsWeight,  int? killHouseRequests,  int? killHouseRequestsFirstQuantity,  double? killHouseRequestsFirstWeight,  int? barCompleteWithKillHouse,  int? acceptedRealQuantityFinal,  double? acceptedRealWightFinal,  int? wareHouseBars,  int? wareHouseBarsQuantity,  double? wareHouseBarsWeight,  double? wareHouseBarsWeightLose)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _KillingInfo() when $default != null:
return $default(_that.violationMessage,_that.provinceKillRequests,_that.provinceKillRequestsQuantity,_that.provinceKillRequestsWeight,_that.killHouseRequests,_that.killHouseRequestsFirstQuantity,_that.killHouseRequestsFirstWeight,_that.barCompleteWithKillHouse,_that.acceptedRealQuantityFinal,_that.acceptedRealWightFinal,_that.wareHouseBars,_that.wareHouseBarsQuantity,_that.wareHouseBarsWeight,_that.wareHouseBarsWeightLose);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? violationMessage,  int? provinceKillRequests,  int? provinceKillRequestsQuantity,  double? provinceKillRequestsWeight,  int? killHouseRequests,  int? killHouseRequestsFirstQuantity,  double? killHouseRequestsFirstWeight,  int? barCompleteWithKillHouse,  int? acceptedRealQuantityFinal,  double? acceptedRealWightFinal,  int? wareHouseBars,  int? wareHouseBarsQuantity,  double? wareHouseBarsWeight,  double? wareHouseBarsWeightLose)  $default,) {final _that = this;
switch (_that) {
case _KillingInfo():
return $default(_that.violationMessage,_that.provinceKillRequests,_that.provinceKillRequestsQuantity,_that.provinceKillRequestsWeight,_that.killHouseRequests,_that.killHouseRequestsFirstQuantity,_that.killHouseRequestsFirstWeight,_that.barCompleteWithKillHouse,_that.acceptedRealQuantityFinal,_that.acceptedRealWightFinal,_that.wareHouseBars,_that.wareHouseBarsQuantity,_that.wareHouseBarsWeight,_that.wareHouseBarsWeightLose);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? violationMessage,  int? provinceKillRequests,  int? provinceKillRequestsQuantity,  double? provinceKillRequestsWeight,  int? killHouseRequests,  int? killHouseRequestsFirstQuantity,  double? killHouseRequestsFirstWeight,  int? barCompleteWithKillHouse,  int? acceptedRealQuantityFinal,  double? acceptedRealWightFinal,  int? wareHouseBars,  int? wareHouseBarsQuantity,  double? wareHouseBarsWeight,  double? wareHouseBarsWeightLose)?  $default,) {final _that = this;
switch (_that) {
case _KillingInfo() when $default != null:
return $default(_that.violationMessage,_that.provinceKillRequests,_that.provinceKillRequestsQuantity,_that.provinceKillRequestsWeight,_that.killHouseRequests,_that.killHouseRequestsFirstQuantity,_that.killHouseRequestsFirstWeight,_that.barCompleteWithKillHouse,_that.acceptedRealQuantityFinal,_that.acceptedRealWightFinal,_that.wareHouseBars,_that.wareHouseBarsQuantity,_that.wareHouseBarsWeight,_that.wareHouseBarsWeightLose);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _KillingInfo implements KillingInfo {
  const _KillingInfo({this.violationMessage, this.provinceKillRequests, this.provinceKillRequestsQuantity, this.provinceKillRequestsWeight, this.killHouseRequests, this.killHouseRequestsFirstQuantity, this.killHouseRequestsFirstWeight, this.barCompleteWithKillHouse, this.acceptedRealQuantityFinal, this.acceptedRealWightFinal, this.wareHouseBars, this.wareHouseBarsQuantity, this.wareHouseBarsWeight, this.wareHouseBarsWeightLose});
  factory _KillingInfo.fromJson(Map<String, dynamic> json) => _$KillingInfoFromJson(json);

@override final  String? violationMessage;
@override final  int? provinceKillRequests;
@override final  int? provinceKillRequestsQuantity;
@override final  double? provinceKillRequestsWeight;
@override final  int? killHouseRequests;
@override final  int? killHouseRequestsFirstQuantity;
@override final  double? killHouseRequestsFirstWeight;
@override final  int? barCompleteWithKillHouse;
@override final  int? acceptedRealQuantityFinal;
@override final  double? acceptedRealWightFinal;
@override final  int? wareHouseBars;
@override final  int? wareHouseBarsQuantity;
@override final  double? wareHouseBarsWeight;
@override final  double? wareHouseBarsWeightLose;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _KillingInfo&&(identical(other.violationMessage, violationMessage) || other.violationMessage == violationMessage)&&(identical(other.provinceKillRequests, provinceKillRequests) || other.provinceKillRequests == provinceKillRequests)&&(identical(other.provinceKillRequestsQuantity, provinceKillRequestsQuantity) || other.provinceKillRequestsQuantity == provinceKillRequestsQuantity)&&(identical(other.provinceKillRequestsWeight, provinceKillRequestsWeight) || other.provinceKillRequestsWeight == provinceKillRequestsWeight)&&(identical(other.killHouseRequests, killHouseRequests) || other.killHouseRequests == killHouseRequests)&&(identical(other.killHouseRequestsFirstQuantity, killHouseRequestsFirstQuantity) || other.killHouseRequestsFirstQuantity == killHouseRequestsFirstQuantity)&&(identical(other.killHouseRequestsFirstWeight, killHouseRequestsFirstWeight) || other.killHouseRequestsFirstWeight == killHouseRequestsFirstWeight)&&(identical(other.barCompleteWithKillHouse, barCompleteWithKillHouse) || other.barCompleteWithKillHouse == barCompleteWithKillHouse)&&(identical(other.acceptedRealQuantityFinal, acceptedRealQuantityFinal) || other.acceptedRealQuantityFinal == acceptedRealQuantityFinal)&&(identical(other.acceptedRealWightFinal, acceptedRealWightFinal) || other.acceptedRealWightFinal == acceptedRealWightFinal)&&(identical(other.wareHouseBars, wareHouseBars) || other.wareHouseBars == wareHouseBars)&&(identical(other.wareHouseBarsQuantity, wareHouseBarsQuantity) || other.wareHouseBarsQuantity == wareHouseBarsQuantity)&&(identical(other.wareHouseBarsWeight, wareHouseBarsWeight) || other.wareHouseBarsWeight == wareHouseBarsWeight)&&(identical(other.wareHouseBarsWeightLose, wareHouseBarsWeightLose) || other.wareHouseBarsWeightLose == wareHouseBarsWeightLose));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,violationMessage,provinceKillRequests,provinceKillRequestsQuantity,provinceKillRequestsWeight,killHouseRequests,killHouseRequestsFirstQuantity,killHouseRequestsFirstWeight,barCompleteWithKillHouse,acceptedRealQuantityFinal,acceptedRealWightFinal,wareHouseBars,wareHouseBarsQuantity,wareHouseBarsWeight,wareHouseBarsWeightLose);

@override
String toString() {
  return 'KillingInfo(violationMessage: $violationMessage, provinceKillRequests: $provinceKillRequests, provinceKillRequestsQuantity: $provinceKillRequestsQuantity, provinceKillRequestsWeight: $provinceKillRequestsWeight, killHouseRequests: $killHouseRequests, killHouseRequestsFirstQuantity: $killHouseRequestsFirstQuantity, killHouseRequestsFirstWeight: $killHouseRequestsFirstWeight, barCompleteWithKillHouse: $barCompleteWithKillHouse, acceptedRealQuantityFinal: $acceptedRealQuantityFinal, acceptedRealWightFinal: $acceptedRealWightFinal, wareHouseBars: $wareHouseBars, wareHouseBarsQuantity: $wareHouseBarsQuantity, wareHouseBarsWeight: $wareHouseBarsWeight, wareHouseBarsWeightLose: $wareHouseBarsWeightLose)';
}


}

/// @nodoc
abstract mixin class _$KillingInfoCopyWith<$Res> implements $KillingInfoCopyWith<$Res> {
  factory _$KillingInfoCopyWith(_KillingInfo value, $Res Function(_KillingInfo) _then) = __$KillingInfoCopyWithImpl;
@override @useResult
$Res call({
 String? violationMessage, int? provinceKillRequests, int? provinceKillRequestsQuantity, double? provinceKillRequestsWeight, int? killHouseRequests, int? killHouseRequestsFirstQuantity, double? killHouseRequestsFirstWeight, int? barCompleteWithKillHouse, int? acceptedRealQuantityFinal, double? acceptedRealWightFinal, int? wareHouseBars, int? wareHouseBarsQuantity, double? wareHouseBarsWeight, double? wareHouseBarsWeightLose
});




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

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

/// Create a copy of KillingInfo
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? violationMessage = freezed,Object? provinceKillRequests = freezed,Object? provinceKillRequestsQuantity = freezed,Object? provinceKillRequestsWeight = freezed,Object? killHouseRequests = freezed,Object? killHouseRequestsFirstQuantity = freezed,Object? killHouseRequestsFirstWeight = freezed,Object? barCompleteWithKillHouse = freezed,Object? acceptedRealQuantityFinal = freezed,Object? acceptedRealWightFinal = freezed,Object? wareHouseBars = freezed,Object? wareHouseBarsQuantity = freezed,Object? wareHouseBarsWeight = freezed,Object? wareHouseBarsWeightLose = freezed,}) {
  return _then(_KillingInfo(
violationMessage: freezed == violationMessage ? _self.violationMessage : violationMessage // ignore: cast_nullable_to_non_nullable
as String?,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?,killHouseRequests: freezed == killHouseRequests ? _self.killHouseRequests : killHouseRequests // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequestsFirstQuantity: freezed == killHouseRequestsFirstQuantity ? _self.killHouseRequestsFirstQuantity : killHouseRequestsFirstQuantity // ignore: cast_nullable_to_non_nullable
as int?,killHouseRequestsFirstWeight: freezed == killHouseRequestsFirstWeight ? _self.killHouseRequestsFirstWeight : killHouseRequestsFirstWeight // ignore: cast_nullable_to_non_nullable
as double?,barCompleteWithKillHouse: freezed == barCompleteWithKillHouse ? _self.barCompleteWithKillHouse : barCompleteWithKillHouse // ignore: cast_nullable_to_non_nullable
as int?,acceptedRealQuantityFinal: freezed == acceptedRealQuantityFinal ? _self.acceptedRealQuantityFinal : acceptedRealQuantityFinal // ignore: cast_nullable_to_non_nullable
as int?,acceptedRealWightFinal: freezed == acceptedRealWightFinal ? _self.acceptedRealWightFinal : acceptedRealWightFinal // ignore: cast_nullable_to_non_nullable
as double?,wareHouseBars: freezed == wareHouseBars ? _self.wareHouseBars : wareHouseBars // ignore: cast_nullable_to_non_nullable
as int?,wareHouseBarsQuantity: freezed == wareHouseBarsQuantity ? _self.wareHouseBarsQuantity : wareHouseBarsQuantity // ignore: cast_nullable_to_non_nullable
as int?,wareHouseBarsWeight: freezed == wareHouseBarsWeight ? _self.wareHouseBarsWeight : wareHouseBarsWeight // ignore: cast_nullable_to_non_nullable
as double?,wareHouseBarsWeightLose: freezed == wareHouseBarsWeightLose ? _self.wareHouseBarsWeightLose : wareHouseBarsWeightLose // ignore: cast_nullable_to_non_nullable
as double?,
  ));
}


}


/// @nodoc
mixin _$FreeGovernmentalInfo {

 int? get governmentalAllocatedQuantity; double? get totalCommitmentQuantity; int? get freeAllocatedQuantity; double? get totalFreeCommitmentQuantity; int? get leftTotalFreeCommitmentQuantity;
/// Create a copy of FreeGovernmentalInfo
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$FreeGovernmentalInfoCopyWith<FreeGovernmentalInfo> get copyWith => _$FreeGovernmentalInfoCopyWithImpl<FreeGovernmentalInfo>(this as FreeGovernmentalInfo, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is FreeGovernmentalInfo&&(identical(other.governmentalAllocatedQuantity, governmentalAllocatedQuantity) || other.governmentalAllocatedQuantity == governmentalAllocatedQuantity)&&(identical(other.totalCommitmentQuantity, totalCommitmentQuantity) || other.totalCommitmentQuantity == totalCommitmentQuantity)&&(identical(other.freeAllocatedQuantity, freeAllocatedQuantity) || other.freeAllocatedQuantity == freeAllocatedQuantity)&&(identical(other.totalFreeCommitmentQuantity, totalFreeCommitmentQuantity) || other.totalFreeCommitmentQuantity == totalFreeCommitmentQuantity)&&(identical(other.leftTotalFreeCommitmentQuantity, leftTotalFreeCommitmentQuantity) || other.leftTotalFreeCommitmentQuantity == leftTotalFreeCommitmentQuantity));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,governmentalAllocatedQuantity,totalCommitmentQuantity,freeAllocatedQuantity,totalFreeCommitmentQuantity,leftTotalFreeCommitmentQuantity);

@override
String toString() {
  return 'FreeGovernmentalInfo(governmentalAllocatedQuantity: $governmentalAllocatedQuantity, totalCommitmentQuantity: $totalCommitmentQuantity, freeAllocatedQuantity: $freeAllocatedQuantity, totalFreeCommitmentQuantity: $totalFreeCommitmentQuantity, leftTotalFreeCommitmentQuantity: $leftTotalFreeCommitmentQuantity)';
}


}

/// @nodoc
abstract mixin class $FreeGovernmentalInfoCopyWith<$Res>  {
  factory $FreeGovernmentalInfoCopyWith(FreeGovernmentalInfo value, $Res Function(FreeGovernmentalInfo) _then) = _$FreeGovernmentalInfoCopyWithImpl;
@useResult
$Res call({
 int? governmentalAllocatedQuantity, double? totalCommitmentQuantity, int? freeAllocatedQuantity, double? totalFreeCommitmentQuantity, int? leftTotalFreeCommitmentQuantity
});




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

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

/// Create a copy of FreeGovernmentalInfo
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? governmentalAllocatedQuantity = freezed,Object? totalCommitmentQuantity = freezed,Object? freeAllocatedQuantity = freezed,Object? totalFreeCommitmentQuantity = freezed,Object? leftTotalFreeCommitmentQuantity = freezed,}) {
  return _then(_self.copyWith(
governmentalAllocatedQuantity: freezed == governmentalAllocatedQuantity ? _self.governmentalAllocatedQuantity : governmentalAllocatedQuantity // ignore: cast_nullable_to_non_nullable
as int?,totalCommitmentQuantity: freezed == totalCommitmentQuantity ? _self.totalCommitmentQuantity : totalCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,freeAllocatedQuantity: freezed == freeAllocatedQuantity ? _self.freeAllocatedQuantity : freeAllocatedQuantity // ignore: cast_nullable_to_non_nullable
as int?,totalFreeCommitmentQuantity: freezed == totalFreeCommitmentQuantity ? _self.totalFreeCommitmentQuantity : totalFreeCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,leftTotalFreeCommitmentQuantity: freezed == leftTotalFreeCommitmentQuantity ? _self.leftTotalFreeCommitmentQuantity : leftTotalFreeCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}

}


/// Adds pattern-matching-related methods to [FreeGovernmentalInfo].
extension FreeGovernmentalInfoPatterns on FreeGovernmentalInfo {
/// 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( _FreeGovernmentalInfo value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _FreeGovernmentalInfo() 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( _FreeGovernmentalInfo value)  $default,){
final _that = this;
switch (_that) {
case _FreeGovernmentalInfo():
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( _FreeGovernmentalInfo value)?  $default,){
final _that = this;
switch (_that) {
case _FreeGovernmentalInfo() 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? governmentalAllocatedQuantity,  double? totalCommitmentQuantity,  int? freeAllocatedQuantity,  double? totalFreeCommitmentQuantity,  int? leftTotalFreeCommitmentQuantity)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _FreeGovernmentalInfo() when $default != null:
return $default(_that.governmentalAllocatedQuantity,_that.totalCommitmentQuantity,_that.freeAllocatedQuantity,_that.totalFreeCommitmentQuantity,_that.leftTotalFreeCommitmentQuantity);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? governmentalAllocatedQuantity,  double? totalCommitmentQuantity,  int? freeAllocatedQuantity,  double? totalFreeCommitmentQuantity,  int? leftTotalFreeCommitmentQuantity)  $default,) {final _that = this;
switch (_that) {
case _FreeGovernmentalInfo():
return $default(_that.governmentalAllocatedQuantity,_that.totalCommitmentQuantity,_that.freeAllocatedQuantity,_that.totalFreeCommitmentQuantity,_that.leftTotalFreeCommitmentQuantity);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? governmentalAllocatedQuantity,  double? totalCommitmentQuantity,  int? freeAllocatedQuantity,  double? totalFreeCommitmentQuantity,  int? leftTotalFreeCommitmentQuantity)?  $default,) {final _that = this;
switch (_that) {
case _FreeGovernmentalInfo() when $default != null:
return $default(_that.governmentalAllocatedQuantity,_that.totalCommitmentQuantity,_that.freeAllocatedQuantity,_that.totalFreeCommitmentQuantity,_that.leftTotalFreeCommitmentQuantity);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _FreeGovernmentalInfo implements FreeGovernmentalInfo {
  const _FreeGovernmentalInfo({this.governmentalAllocatedQuantity, this.totalCommitmentQuantity, this.freeAllocatedQuantity, this.totalFreeCommitmentQuantity, this.leftTotalFreeCommitmentQuantity});
  factory _FreeGovernmentalInfo.fromJson(Map<String, dynamic> json) => _$FreeGovernmentalInfoFromJson(json);

@override final  int? governmentalAllocatedQuantity;
@override final  double? totalCommitmentQuantity;
@override final  int? freeAllocatedQuantity;
@override final  double? totalFreeCommitmentQuantity;
@override final  int? leftTotalFreeCommitmentQuantity;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _FreeGovernmentalInfo&&(identical(other.governmentalAllocatedQuantity, governmentalAllocatedQuantity) || other.governmentalAllocatedQuantity == governmentalAllocatedQuantity)&&(identical(other.totalCommitmentQuantity, totalCommitmentQuantity) || other.totalCommitmentQuantity == totalCommitmentQuantity)&&(identical(other.freeAllocatedQuantity, freeAllocatedQuantity) || other.freeAllocatedQuantity == freeAllocatedQuantity)&&(identical(other.totalFreeCommitmentQuantity, totalFreeCommitmentQuantity) || other.totalFreeCommitmentQuantity == totalFreeCommitmentQuantity)&&(identical(other.leftTotalFreeCommitmentQuantity, leftTotalFreeCommitmentQuantity) || other.leftTotalFreeCommitmentQuantity == leftTotalFreeCommitmentQuantity));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,governmentalAllocatedQuantity,totalCommitmentQuantity,freeAllocatedQuantity,totalFreeCommitmentQuantity,leftTotalFreeCommitmentQuantity);

@override
String toString() {
  return 'FreeGovernmentalInfo(governmentalAllocatedQuantity: $governmentalAllocatedQuantity, totalCommitmentQuantity: $totalCommitmentQuantity, freeAllocatedQuantity: $freeAllocatedQuantity, totalFreeCommitmentQuantity: $totalFreeCommitmentQuantity, leftTotalFreeCommitmentQuantity: $leftTotalFreeCommitmentQuantity)';
}


}

/// @nodoc
abstract mixin class _$FreeGovernmentalInfoCopyWith<$Res> implements $FreeGovernmentalInfoCopyWith<$Res> {
  factory _$FreeGovernmentalInfoCopyWith(_FreeGovernmentalInfo value, $Res Function(_FreeGovernmentalInfo) _then) = __$FreeGovernmentalInfoCopyWithImpl;
@override @useResult
$Res call({
 int? governmentalAllocatedQuantity, double? totalCommitmentQuantity, int? freeAllocatedQuantity, double? totalFreeCommitmentQuantity, int? leftTotalFreeCommitmentQuantity
});




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

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

/// Create a copy of FreeGovernmentalInfo
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? governmentalAllocatedQuantity = freezed,Object? totalCommitmentQuantity = freezed,Object? freeAllocatedQuantity = freezed,Object? totalFreeCommitmentQuantity = freezed,Object? leftTotalFreeCommitmentQuantity = freezed,}) {
  return _then(_FreeGovernmentalInfo(
governmentalAllocatedQuantity: freezed == governmentalAllocatedQuantity ? _self.governmentalAllocatedQuantity : governmentalAllocatedQuantity // ignore: cast_nullable_to_non_nullable
as int?,totalCommitmentQuantity: freezed == totalCommitmentQuantity ? _self.totalCommitmentQuantity : totalCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,freeAllocatedQuantity: freezed == freeAllocatedQuantity ? _self.freeAllocatedQuantity : freeAllocatedQuantity // ignore: cast_nullable_to_non_nullable
as int?,totalFreeCommitmentQuantity: freezed == totalFreeCommitmentQuantity ? _self.totalFreeCommitmentQuantity : totalFreeCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as double?,leftTotalFreeCommitmentQuantity: freezed == leftTotalFreeCommitmentQuantity ? _self.leftTotalFreeCommitmentQuantity : leftTotalFreeCommitmentQuantity // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}


}


/// @nodoc
mixin _$Breed {

 String? get breed; int? get mainQuantity; int? get remainQuantity;
/// Create a copy of Breed
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$BreedCopyWith<Breed> get copyWith => _$BreedCopyWithImpl<Breed>(this as Breed, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is Breed&&(identical(other.breed, breed) || other.breed == breed)&&(identical(other.mainQuantity, mainQuantity) || other.mainQuantity == mainQuantity)&&(identical(other.remainQuantity, remainQuantity) || other.remainQuantity == remainQuantity));
}

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

@override
String toString() {
  return 'Breed(breed: $breed, mainQuantity: $mainQuantity, remainQuantity: $remainQuantity)';
}


}

/// @nodoc
abstract mixin class $BreedCopyWith<$Res>  {
  factory $BreedCopyWith(Breed value, $Res Function(Breed) _then) = _$BreedCopyWithImpl;
@useResult
$Res call({
 String? breed, int? mainQuantity, int? remainQuantity
});




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

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

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

}


/// Adds pattern-matching-related methods to [Breed].
extension BreedPatterns on Breed {
/// 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( _Breed value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _Breed() 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( _Breed value)  $default,){
final _that = this;
switch (_that) {
case _Breed():
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( _Breed value)?  $default,){
final _that = this;
switch (_that) {
case _Breed() 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? breed,  int? mainQuantity,  int? remainQuantity)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _Breed() when $default != null:
return $default(_that.breed,_that.mainQuantity,_that.remainQuantity);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? breed,  int? mainQuantity,  int? remainQuantity)  $default,) {final _that = this;
switch (_that) {
case _Breed():
return $default(_that.breed,_that.mainQuantity,_that.remainQuantity);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? breed,  int? mainQuantity,  int? remainQuantity)?  $default,) {final _that = this;
switch (_that) {
case _Breed() when $default != null:
return $default(_that.breed,_that.mainQuantity,_that.remainQuantity);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _Breed implements Breed {
  const _Breed({this.breed, this.mainQuantity, this.remainQuantity});
  factory _Breed.fromJson(Map<String, dynamic> json) => _$BreedFromJson(json);

@override final  String? breed;
@override final  int? mainQuantity;
@override final  int? remainQuantity;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Breed&&(identical(other.breed, breed) || other.breed == breed)&&(identical(other.mainQuantity, mainQuantity) || other.mainQuantity == mainQuantity)&&(identical(other.remainQuantity, remainQuantity) || other.remainQuantity == remainQuantity));
}

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

@override
String toString() {
  return 'Breed(breed: $breed, mainQuantity: $mainQuantity, remainQuantity: $remainQuantity)';
}


}

/// @nodoc
abstract mixin class _$BreedCopyWith<$Res> implements $BreedCopyWith<$Res> {
  factory _$BreedCopyWith(_Breed value, $Res Function(_Breed) _then) = __$BreedCopyWithImpl;
@override @useResult
$Res call({
 String? breed, int? mainQuantity, int? remainQuantity
});




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

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

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


}


/// @nodoc
mixin _$LastChange {

 DateTime? get date; String? get role; String? get type; String? get fullName;
/// Create a copy of LastChange
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$LastChangeCopyWith<LastChange> get copyWith => _$LastChangeCopyWithImpl<LastChange>(this as LastChange, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is LastChange&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.type, type) || other.type == type)&&(identical(other.fullName, fullName) || other.fullName == fullName));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,date,role,type,fullName);

@override
String toString() {
  return 'LastChange(date: $date, role: $role, type: $type, fullName: $fullName)';
}


}

/// @nodoc
abstract mixin class $LastChangeCopyWith<$Res>  {
  factory $LastChangeCopyWith(LastChange value, $Res Function(LastChange) _then) = _$LastChangeCopyWithImpl;
@useResult
$Res call({
 DateTime? date, String? role, String? type, String? fullName
});




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

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

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

}


/// Adds pattern-matching-related methods to [LastChange].
extension LastChangePatterns on LastChange {
/// 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( _LastChange value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _LastChange() 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( _LastChange value)  $default,){
final _that = this;
switch (_that) {
case _LastChange():
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( _LastChange value)?  $default,){
final _that = this;
switch (_that) {
case _LastChange() 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( DateTime? date,  String? role,  String? type,  String? fullName)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _LastChange() when $default != null:
return $default(_that.date,_that.role,_that.type,_that.fullName);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( DateTime? date,  String? role,  String? type,  String? fullName)  $default,) {final _that = this;
switch (_that) {
case _LastChange():
return $default(_that.date,_that.role,_that.type,_that.fullName);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( DateTime? date,  String? role,  String? type,  String? fullName)?  $default,) {final _that = this;
switch (_that) {
case _LastChange() when $default != null:
return $default(_that.date,_that.role,_that.type,_that.fullName);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _LastChange implements LastChange {
  const _LastChange({this.date, this.role, this.type, this.fullName});
  factory _LastChange.fromJson(Map<String, dynamic> json) => _$LastChangeFromJson(json);

@override final  DateTime? date;
@override final  String? role;
@override final  String? type;
@override final  String? fullName;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _LastChange&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.type, type) || other.type == type)&&(identical(other.fullName, fullName) || other.fullName == fullName));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,date,role,type,fullName);

@override
String toString() {
  return 'LastChange(date: $date, role: $role, type: $type, fullName: $fullName)';
}


}

/// @nodoc
abstract mixin class _$LastChangeCopyWith<$Res> implements $LastChangeCopyWith<$Res> {
  factory _$LastChangeCopyWith(_LastChange value, $Res Function(_LastChange) _then) = __$LastChangeCopyWithImpl;
@override @useResult
$Res call({
 DateTime? date, String? role, String? type, String? fullName
});




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

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

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


}


/// @nodoc
mixin _$LatestHatchingChange {

 DateTime? get date; String? get role; String? get fullName;
/// Create a copy of LatestHatchingChange
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$LatestHatchingChangeCopyWith<LatestHatchingChange> get copyWith => _$LatestHatchingChangeCopyWithImpl<LatestHatchingChange>(this as LatestHatchingChange, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is LatestHatchingChange&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.fullName, fullName) || other.fullName == fullName));
}

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

@override
String toString() {
  return 'LatestHatchingChange(date: $date, role: $role, fullName: $fullName)';
}


}

/// @nodoc
abstract mixin class $LatestHatchingChangeCopyWith<$Res>  {
  factory $LatestHatchingChangeCopyWith(LatestHatchingChange value, $Res Function(LatestHatchingChange) _then) = _$LatestHatchingChangeCopyWithImpl;
@useResult
$Res call({
 DateTime? date, String? role, String? fullName
});




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

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

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

}


/// Adds pattern-matching-related methods to [LatestHatchingChange].
extension LatestHatchingChangePatterns on LatestHatchingChange {
/// 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( _LatestHatchingChange value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _LatestHatchingChange() 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( _LatestHatchingChange value)  $default,){
final _that = this;
switch (_that) {
case _LatestHatchingChange():
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( _LatestHatchingChange value)?  $default,){
final _that = this;
switch (_that) {
case _LatestHatchingChange() 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( DateTime? date,  String? role,  String? fullName)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _LatestHatchingChange() when $default != null:
return $default(_that.date,_that.role,_that.fullName);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( DateTime? date,  String? role,  String? fullName)  $default,) {final _that = this;
switch (_that) {
case _LatestHatchingChange():
return $default(_that.date,_that.role,_that.fullName);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( DateTime? date,  String? role,  String? fullName)?  $default,) {final _that = this;
switch (_that) {
case _LatestHatchingChange() when $default != null:
return $default(_that.date,_that.role,_that.fullName);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _LatestHatchingChange implements LatestHatchingChange {
  const _LatestHatchingChange({this.date, this.role, this.fullName});
  factory _LatestHatchingChange.fromJson(Map<String, dynamic> json) => _$LatestHatchingChangeFromJson(json);

@override final  DateTime? date;
@override final  String? role;
@override final  String? fullName;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _LatestHatchingChange&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.fullName, fullName) || other.fullName == fullName));
}

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

@override
String toString() {
  return 'LatestHatchingChange(date: $date, role: $role, fullName: $fullName)';
}


}

/// @nodoc
abstract mixin class _$LatestHatchingChangeCopyWith<$Res> implements $LatestHatchingChangeCopyWith<$Res> {
  factory _$LatestHatchingChangeCopyWith(_LatestHatchingChange value, $Res Function(_LatestHatchingChange) _then) = __$LatestHatchingChangeCopyWithImpl;
@override @useResult
$Res call({
 DateTime? date, String? role, String? fullName
});




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

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

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


}

// dart format on
