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

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

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

/// @nodoc
mixin _$ImportedLoadsModel {

 int? get id; Product? get product; KillHouse? get killHouse; dynamic get toKillHouse; dynamic get steward; ToSteward? get toSteward; dynamic get guilds; dynamic get toGuilds; dynamic get toColdHouse; int? get indexWeight; int? get dateTimestamp; int? get newState; int? get newReceiverState; int? get newAllocationState; String? get key; String? get createDate; String? get modifyDate; bool? get trash; int? get numberOfCarcasses; int? get realNumberOfCarcasses; int? get receiverRealNumberOfCarcasses; double? get weightOfCarcasses; double? get realWeightOfCarcasses; double? get receiverRealWeightOfCarcasses; double? get weightLossOfCarcasses; bool? get finalRegistration; String? get sellType; String? get productName; String? get sellerType; String? get type; String? get saleType; String? get allocationType; bool? get systemRegistrationCode; int? get registrationCode; int? get amount; int? get totalAmount; int? get totalAmountPaid; int? get totalAmountRemain; dynamic get loggedRegistrationCode; String? get state; String? get receiverState; String? get allocationState; String? get date; dynamic get role; dynamic get stewardTempKey; bool? get approvedPriceStatus; bool? get calculateStatus; bool? get temporaryTrash; bool? get temporaryDeleted; dynamic get createdBy; dynamic get modifiedBy; dynamic get wareHouse; dynamic get stewardWareHouse; dynamic get car; dynamic get dispenser;
/// Create a copy of ImportedLoadsModel
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$ImportedLoadsModelCopyWith<ImportedLoadsModel> get copyWith => _$ImportedLoadsModelCopyWithImpl<ImportedLoadsModel>(this as ImportedLoadsModel, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is ImportedLoadsModel&&(identical(other.id, id) || other.id == id)&&(identical(other.product, product) || other.product == product)&&(identical(other.killHouse, killHouse) || other.killHouse == killHouse)&&const DeepCollectionEquality().equals(other.toKillHouse, toKillHouse)&&const DeepCollectionEquality().equals(other.steward, steward)&&(identical(other.toSteward, toSteward) || other.toSteward == toSteward)&&const DeepCollectionEquality().equals(other.guilds, guilds)&&const DeepCollectionEquality().equals(other.toGuilds, toGuilds)&&const DeepCollectionEquality().equals(other.toColdHouse, toColdHouse)&&(identical(other.indexWeight, indexWeight) || other.indexWeight == indexWeight)&&(identical(other.dateTimestamp, dateTimestamp) || other.dateTimestamp == dateTimestamp)&&(identical(other.newState, newState) || other.newState == newState)&&(identical(other.newReceiverState, newReceiverState) || other.newReceiverState == newReceiverState)&&(identical(other.newAllocationState, newAllocationState) || other.newAllocationState == newAllocationState)&&(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.numberOfCarcasses, numberOfCarcasses) || other.numberOfCarcasses == numberOfCarcasses)&&(identical(other.realNumberOfCarcasses, realNumberOfCarcasses) || other.realNumberOfCarcasses == realNumberOfCarcasses)&&(identical(other.receiverRealNumberOfCarcasses, receiverRealNumberOfCarcasses) || other.receiverRealNumberOfCarcasses == receiverRealNumberOfCarcasses)&&(identical(other.weightOfCarcasses, weightOfCarcasses) || other.weightOfCarcasses == weightOfCarcasses)&&(identical(other.realWeightOfCarcasses, realWeightOfCarcasses) || other.realWeightOfCarcasses == realWeightOfCarcasses)&&(identical(other.receiverRealWeightOfCarcasses, receiverRealWeightOfCarcasses) || other.receiverRealWeightOfCarcasses == receiverRealWeightOfCarcasses)&&(identical(other.weightLossOfCarcasses, weightLossOfCarcasses) || other.weightLossOfCarcasses == weightLossOfCarcasses)&&(identical(other.finalRegistration, finalRegistration) || other.finalRegistration == finalRegistration)&&(identical(other.sellType, sellType) || other.sellType == sellType)&&(identical(other.productName, productName) || other.productName == productName)&&(identical(other.sellerType, sellerType) || other.sellerType == sellerType)&&(identical(other.type, type) || other.type == type)&&(identical(other.saleType, saleType) || other.saleType == saleType)&&(identical(other.allocationType, allocationType) || other.allocationType == allocationType)&&(identical(other.systemRegistrationCode, systemRegistrationCode) || other.systemRegistrationCode == systemRegistrationCode)&&(identical(other.registrationCode, registrationCode) || other.registrationCode == registrationCode)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.totalAmount, totalAmount) || other.totalAmount == totalAmount)&&(identical(other.totalAmountPaid, totalAmountPaid) || other.totalAmountPaid == totalAmountPaid)&&(identical(other.totalAmountRemain, totalAmountRemain) || other.totalAmountRemain == totalAmountRemain)&&const DeepCollectionEquality().equals(other.loggedRegistrationCode, loggedRegistrationCode)&&(identical(other.state, state) || other.state == state)&&(identical(other.receiverState, receiverState) || other.receiverState == receiverState)&&(identical(other.allocationState, allocationState) || other.allocationState == allocationState)&&(identical(other.date, date) || other.date == date)&&const DeepCollectionEquality().equals(other.role, role)&&const DeepCollectionEquality().equals(other.stewardTempKey, stewardTempKey)&&(identical(other.approvedPriceStatus, approvedPriceStatus) || other.approvedPriceStatus == approvedPriceStatus)&&(identical(other.calculateStatus, calculateStatus) || other.calculateStatus == calculateStatus)&&(identical(other.temporaryTrash, temporaryTrash) || other.temporaryTrash == temporaryTrash)&&(identical(other.temporaryDeleted, temporaryDeleted) || other.temporaryDeleted == temporaryDeleted)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&const DeepCollectionEquality().equals(other.wareHouse, wareHouse)&&const DeepCollectionEquality().equals(other.stewardWareHouse, stewardWareHouse)&&const DeepCollectionEquality().equals(other.car, car)&&const DeepCollectionEquality().equals(other.dispenser, dispenser));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,product,killHouse,const DeepCollectionEquality().hash(toKillHouse),const DeepCollectionEquality().hash(steward),toSteward,const DeepCollectionEquality().hash(guilds),const DeepCollectionEquality().hash(toGuilds),const DeepCollectionEquality().hash(toColdHouse),indexWeight,dateTimestamp,newState,newReceiverState,newAllocationState,key,createDate,modifyDate,trash,numberOfCarcasses,realNumberOfCarcasses,receiverRealNumberOfCarcasses,weightOfCarcasses,realWeightOfCarcasses,receiverRealWeightOfCarcasses,weightLossOfCarcasses,finalRegistration,sellType,productName,sellerType,type,saleType,allocationType,systemRegistrationCode,registrationCode,amount,totalAmount,totalAmountPaid,totalAmountRemain,const DeepCollectionEquality().hash(loggedRegistrationCode),state,receiverState,allocationState,date,const DeepCollectionEquality().hash(role),const DeepCollectionEquality().hash(stewardTempKey),approvedPriceStatus,calculateStatus,temporaryTrash,temporaryDeleted,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),const DeepCollectionEquality().hash(wareHouse),const DeepCollectionEquality().hash(stewardWareHouse),const DeepCollectionEquality().hash(car),const DeepCollectionEquality().hash(dispenser)]);

@override
String toString() {
  return 'ImportedLoadsModel(id: $id, product: $product, killHouse: $killHouse, toKillHouse: $toKillHouse, steward: $steward, toSteward: $toSteward, guilds: $guilds, toGuilds: $toGuilds, toColdHouse: $toColdHouse, indexWeight: $indexWeight, dateTimestamp: $dateTimestamp, newState: $newState, newReceiverState: $newReceiverState, newAllocationState: $newAllocationState, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, numberOfCarcasses: $numberOfCarcasses, realNumberOfCarcasses: $realNumberOfCarcasses, receiverRealNumberOfCarcasses: $receiverRealNumberOfCarcasses, weightOfCarcasses: $weightOfCarcasses, realWeightOfCarcasses: $realWeightOfCarcasses, receiverRealWeightOfCarcasses: $receiverRealWeightOfCarcasses, weightLossOfCarcasses: $weightLossOfCarcasses, finalRegistration: $finalRegistration, sellType: $sellType, productName: $productName, sellerType: $sellerType, type: $type, saleType: $saleType, allocationType: $allocationType, systemRegistrationCode: $systemRegistrationCode, registrationCode: $registrationCode, amount: $amount, totalAmount: $totalAmount, totalAmountPaid: $totalAmountPaid, totalAmountRemain: $totalAmountRemain, loggedRegistrationCode: $loggedRegistrationCode, state: $state, receiverState: $receiverState, allocationState: $allocationState, date: $date, role: $role, stewardTempKey: $stewardTempKey, approvedPriceStatus: $approvedPriceStatus, calculateStatus: $calculateStatus, temporaryTrash: $temporaryTrash, temporaryDeleted: $temporaryDeleted, createdBy: $createdBy, modifiedBy: $modifiedBy, wareHouse: $wareHouse, stewardWareHouse: $stewardWareHouse, car: $car, dispenser: $dispenser)';
}


}

/// @nodoc
abstract mixin class $ImportedLoadsModelCopyWith<$Res>  {
  factory $ImportedLoadsModelCopyWith(ImportedLoadsModel value, $Res Function(ImportedLoadsModel) _then) = _$ImportedLoadsModelCopyWithImpl;
@useResult
$Res call({
 int? id, Product? product, KillHouse? killHouse, dynamic toKillHouse, dynamic steward, ToSteward? toSteward, dynamic guilds, dynamic toGuilds, dynamic toColdHouse, int? indexWeight, int? dateTimestamp, int? newState, int? newReceiverState, int? newAllocationState, String? key, String? createDate, String? modifyDate, bool? trash, int? numberOfCarcasses, int? realNumberOfCarcasses, int? receiverRealNumberOfCarcasses, double? weightOfCarcasses, double? realWeightOfCarcasses, double? receiverRealWeightOfCarcasses, double? weightLossOfCarcasses, bool? finalRegistration, String? sellType, String? productName, String? sellerType, String? type, String? saleType, String? allocationType, bool? systemRegistrationCode, int? registrationCode, int? amount, int? totalAmount, int? totalAmountPaid, int? totalAmountRemain, dynamic loggedRegistrationCode, String? state, String? receiverState, String? allocationState, String? date, dynamic role, dynamic stewardTempKey, bool? approvedPriceStatus, bool? calculateStatus, bool? temporaryTrash, bool? temporaryDeleted, dynamic createdBy, dynamic modifiedBy, dynamic wareHouse, dynamic stewardWareHouse, dynamic car, dynamic dispenser
});


$ProductCopyWith<$Res>? get product;$KillHouseCopyWith<$Res>? get killHouse;$ToStewardCopyWith<$Res>? get toSteward;

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

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

/// Create a copy of ImportedLoadsModel
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? product = freezed,Object? killHouse = freezed,Object? toKillHouse = freezed,Object? steward = freezed,Object? toSteward = freezed,Object? guilds = freezed,Object? toGuilds = freezed,Object? toColdHouse = freezed,Object? indexWeight = freezed,Object? dateTimestamp = freezed,Object? newState = freezed,Object? newReceiverState = freezed,Object? newAllocationState = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? numberOfCarcasses = freezed,Object? realNumberOfCarcasses = freezed,Object? receiverRealNumberOfCarcasses = freezed,Object? weightOfCarcasses = freezed,Object? realWeightOfCarcasses = freezed,Object? receiverRealWeightOfCarcasses = freezed,Object? weightLossOfCarcasses = freezed,Object? finalRegistration = freezed,Object? sellType = freezed,Object? productName = freezed,Object? sellerType = freezed,Object? type = freezed,Object? saleType = freezed,Object? allocationType = freezed,Object? systemRegistrationCode = freezed,Object? registrationCode = freezed,Object? amount = freezed,Object? totalAmount = freezed,Object? totalAmountPaid = freezed,Object? totalAmountRemain = freezed,Object? loggedRegistrationCode = freezed,Object? state = freezed,Object? receiverState = freezed,Object? allocationState = freezed,Object? date = freezed,Object? role = freezed,Object? stewardTempKey = freezed,Object? approvedPriceStatus = freezed,Object? calculateStatus = freezed,Object? temporaryTrash = freezed,Object? temporaryDeleted = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? wareHouse = freezed,Object? stewardWareHouse = freezed,Object? car = freezed,Object? dispenser = freezed,}) {
  return _then(_self.copyWith(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,product: freezed == product ? _self.product : product // ignore: cast_nullable_to_non_nullable
as Product?,killHouse: freezed == killHouse ? _self.killHouse : killHouse // ignore: cast_nullable_to_non_nullable
as KillHouse?,toKillHouse: freezed == toKillHouse ? _self.toKillHouse : toKillHouse // ignore: cast_nullable_to_non_nullable
as dynamic,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as dynamic,toSteward: freezed == toSteward ? _self.toSteward : toSteward // ignore: cast_nullable_to_non_nullable
as ToSteward?,guilds: freezed == guilds ? _self.guilds : guilds // ignore: cast_nullable_to_non_nullable
as dynamic,toGuilds: freezed == toGuilds ? _self.toGuilds : toGuilds // ignore: cast_nullable_to_non_nullable
as dynamic,toColdHouse: freezed == toColdHouse ? _self.toColdHouse : toColdHouse // ignore: cast_nullable_to_non_nullable
as dynamic,indexWeight: freezed == indexWeight ? _self.indexWeight : indexWeight // ignore: cast_nullable_to_non_nullable
as int?,dateTimestamp: freezed == dateTimestamp ? _self.dateTimestamp : dateTimestamp // ignore: cast_nullable_to_non_nullable
as int?,newState: freezed == newState ? _self.newState : newState // ignore: cast_nullable_to_non_nullable
as int?,newReceiverState: freezed == newReceiverState ? _self.newReceiverState : newReceiverState // ignore: cast_nullable_to_non_nullable
as int?,newAllocationState: freezed == newAllocationState ? _self.newAllocationState : newAllocationState // ignore: cast_nullable_to_non_nullable
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,numberOfCarcasses: freezed == numberOfCarcasses ? _self.numberOfCarcasses : numberOfCarcasses // ignore: cast_nullable_to_non_nullable
as int?,realNumberOfCarcasses: freezed == realNumberOfCarcasses ? _self.realNumberOfCarcasses : realNumberOfCarcasses // ignore: cast_nullable_to_non_nullable
as int?,receiverRealNumberOfCarcasses: freezed == receiverRealNumberOfCarcasses ? _self.receiverRealNumberOfCarcasses : receiverRealNumberOfCarcasses // ignore: cast_nullable_to_non_nullable
as int?,weightOfCarcasses: freezed == weightOfCarcasses ? _self.weightOfCarcasses : weightOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,realWeightOfCarcasses: freezed == realWeightOfCarcasses ? _self.realWeightOfCarcasses : realWeightOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,receiverRealWeightOfCarcasses: freezed == receiverRealWeightOfCarcasses ? _self.receiverRealWeightOfCarcasses : receiverRealWeightOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,weightLossOfCarcasses: freezed == weightLossOfCarcasses ? _self.weightLossOfCarcasses : weightLossOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,finalRegistration: freezed == finalRegistration ? _self.finalRegistration : finalRegistration // ignore: cast_nullable_to_non_nullable
as bool?,sellType: freezed == sellType ? _self.sellType : sellType // ignore: cast_nullable_to_non_nullable
as String?,productName: freezed == productName ? _self.productName : productName // ignore: cast_nullable_to_non_nullable
as String?,sellerType: freezed == sellerType ? _self.sellerType : sellerType // ignore: cast_nullable_to_non_nullable
as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String?,saleType: freezed == saleType ? _self.saleType : saleType // ignore: cast_nullable_to_non_nullable
as String?,allocationType: freezed == allocationType ? _self.allocationType : allocationType // ignore: cast_nullable_to_non_nullable
as String?,systemRegistrationCode: freezed == systemRegistrationCode ? _self.systemRegistrationCode : systemRegistrationCode // ignore: cast_nullable_to_non_nullable
as bool?,registrationCode: freezed == registrationCode ? _self.registrationCode : registrationCode // ignore: cast_nullable_to_non_nullable
as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
as int?,totalAmount: freezed == totalAmount ? _self.totalAmount : totalAmount // ignore: cast_nullable_to_non_nullable
as int?,totalAmountPaid: freezed == totalAmountPaid ? _self.totalAmountPaid : totalAmountPaid // ignore: cast_nullable_to_non_nullable
as int?,totalAmountRemain: freezed == totalAmountRemain ? _self.totalAmountRemain : totalAmountRemain // ignore: cast_nullable_to_non_nullable
as int?,loggedRegistrationCode: freezed == loggedRegistrationCode ? _self.loggedRegistrationCode : loggedRegistrationCode // ignore: cast_nullable_to_non_nullable
as dynamic,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
as String?,receiverState: freezed == receiverState ? _self.receiverState : receiverState // ignore: cast_nullable_to_non_nullable
as String?,allocationState: freezed == allocationState ? _self.allocationState : allocationState // ignore: cast_nullable_to_non_nullable
as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable
as dynamic,stewardTempKey: freezed == stewardTempKey ? _self.stewardTempKey : stewardTempKey // ignore: cast_nullable_to_non_nullable
as dynamic,approvedPriceStatus: freezed == approvedPriceStatus ? _self.approvedPriceStatus : approvedPriceStatus // ignore: cast_nullable_to_non_nullable
as bool?,calculateStatus: freezed == calculateStatus ? _self.calculateStatus : calculateStatus // ignore: cast_nullable_to_non_nullable
as bool?,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?,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,wareHouse: freezed == wareHouse ? _self.wareHouse : wareHouse // ignore: cast_nullable_to_non_nullable
as dynamic,stewardWareHouse: freezed == stewardWareHouse ? _self.stewardWareHouse : stewardWareHouse // ignore: cast_nullable_to_non_nullable
as dynamic,car: freezed == car ? _self.car : car // ignore: cast_nullable_to_non_nullable
as dynamic,dispenser: freezed == dispenser ? _self.dispenser : dispenser // ignore: cast_nullable_to_non_nullable
as dynamic,
  ));
}
/// Create a copy of ImportedLoadsModel
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ProductCopyWith<$Res>? get product {
    if (_self.product == null) {
    return null;
  }

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

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

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


/// Adds pattern-matching-related methods to [ImportedLoadsModel].
extension ImportedLoadsModelPatterns on ImportedLoadsModel {
/// 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( _ImportedLoadsModel value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _ImportedLoadsModel() 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( _ImportedLoadsModel value)  $default,){
final _that = this;
switch (_that) {
case _ImportedLoadsModel():
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( _ImportedLoadsModel value)?  $default,){
final _that = this;
switch (_that) {
case _ImportedLoadsModel() 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,  Product? product,  KillHouse? killHouse,  dynamic toKillHouse,  dynamic steward,  ToSteward? toSteward,  dynamic guilds,  dynamic toGuilds,  dynamic toColdHouse,  int? indexWeight,  int? dateTimestamp,  int? newState,  int? newReceiverState,  int? newAllocationState,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  int? numberOfCarcasses,  int? realNumberOfCarcasses,  int? receiverRealNumberOfCarcasses,  double? weightOfCarcasses,  double? realWeightOfCarcasses,  double? receiverRealWeightOfCarcasses,  double? weightLossOfCarcasses,  bool? finalRegistration,  String? sellType,  String? productName,  String? sellerType,  String? type,  String? saleType,  String? allocationType,  bool? systemRegistrationCode,  int? registrationCode,  int? amount,  int? totalAmount,  int? totalAmountPaid,  int? totalAmountRemain,  dynamic loggedRegistrationCode,  String? state,  String? receiverState,  String? allocationState,  String? date,  dynamic role,  dynamic stewardTempKey,  bool? approvedPriceStatus,  bool? calculateStatus,  bool? temporaryTrash,  bool? temporaryDeleted,  dynamic createdBy,  dynamic modifiedBy,  dynamic wareHouse,  dynamic stewardWareHouse,  dynamic car,  dynamic dispenser)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _ImportedLoadsModel() when $default != null:
return $default(_that.id,_that.product,_that.killHouse,_that.toKillHouse,_that.steward,_that.toSteward,_that.guilds,_that.toGuilds,_that.toColdHouse,_that.indexWeight,_that.dateTimestamp,_that.newState,_that.newReceiverState,_that.newAllocationState,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.numberOfCarcasses,_that.realNumberOfCarcasses,_that.receiverRealNumberOfCarcasses,_that.weightOfCarcasses,_that.realWeightOfCarcasses,_that.receiverRealWeightOfCarcasses,_that.weightLossOfCarcasses,_that.finalRegistration,_that.sellType,_that.productName,_that.sellerType,_that.type,_that.saleType,_that.allocationType,_that.systemRegistrationCode,_that.registrationCode,_that.amount,_that.totalAmount,_that.totalAmountPaid,_that.totalAmountRemain,_that.loggedRegistrationCode,_that.state,_that.receiverState,_that.allocationState,_that.date,_that.role,_that.stewardTempKey,_that.approvedPriceStatus,_that.calculateStatus,_that.temporaryTrash,_that.temporaryDeleted,_that.createdBy,_that.modifiedBy,_that.wareHouse,_that.stewardWareHouse,_that.car,_that.dispenser);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,  Product? product,  KillHouse? killHouse,  dynamic toKillHouse,  dynamic steward,  ToSteward? toSteward,  dynamic guilds,  dynamic toGuilds,  dynamic toColdHouse,  int? indexWeight,  int? dateTimestamp,  int? newState,  int? newReceiverState,  int? newAllocationState,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  int? numberOfCarcasses,  int? realNumberOfCarcasses,  int? receiverRealNumberOfCarcasses,  double? weightOfCarcasses,  double? realWeightOfCarcasses,  double? receiverRealWeightOfCarcasses,  double? weightLossOfCarcasses,  bool? finalRegistration,  String? sellType,  String? productName,  String? sellerType,  String? type,  String? saleType,  String? allocationType,  bool? systemRegistrationCode,  int? registrationCode,  int? amount,  int? totalAmount,  int? totalAmountPaid,  int? totalAmountRemain,  dynamic loggedRegistrationCode,  String? state,  String? receiverState,  String? allocationState,  String? date,  dynamic role,  dynamic stewardTempKey,  bool? approvedPriceStatus,  bool? calculateStatus,  bool? temporaryTrash,  bool? temporaryDeleted,  dynamic createdBy,  dynamic modifiedBy,  dynamic wareHouse,  dynamic stewardWareHouse,  dynamic car,  dynamic dispenser)  $default,) {final _that = this;
switch (_that) {
case _ImportedLoadsModel():
return $default(_that.id,_that.product,_that.killHouse,_that.toKillHouse,_that.steward,_that.toSteward,_that.guilds,_that.toGuilds,_that.toColdHouse,_that.indexWeight,_that.dateTimestamp,_that.newState,_that.newReceiverState,_that.newAllocationState,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.numberOfCarcasses,_that.realNumberOfCarcasses,_that.receiverRealNumberOfCarcasses,_that.weightOfCarcasses,_that.realWeightOfCarcasses,_that.receiverRealWeightOfCarcasses,_that.weightLossOfCarcasses,_that.finalRegistration,_that.sellType,_that.productName,_that.sellerType,_that.type,_that.saleType,_that.allocationType,_that.systemRegistrationCode,_that.registrationCode,_that.amount,_that.totalAmount,_that.totalAmountPaid,_that.totalAmountRemain,_that.loggedRegistrationCode,_that.state,_that.receiverState,_that.allocationState,_that.date,_that.role,_that.stewardTempKey,_that.approvedPriceStatus,_that.calculateStatus,_that.temporaryTrash,_that.temporaryDeleted,_that.createdBy,_that.modifiedBy,_that.wareHouse,_that.stewardWareHouse,_that.car,_that.dispenser);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,  Product? product,  KillHouse? killHouse,  dynamic toKillHouse,  dynamic steward,  ToSteward? toSteward,  dynamic guilds,  dynamic toGuilds,  dynamic toColdHouse,  int? indexWeight,  int? dateTimestamp,  int? newState,  int? newReceiverState,  int? newAllocationState,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  int? numberOfCarcasses,  int? realNumberOfCarcasses,  int? receiverRealNumberOfCarcasses,  double? weightOfCarcasses,  double? realWeightOfCarcasses,  double? receiverRealWeightOfCarcasses,  double? weightLossOfCarcasses,  bool? finalRegistration,  String? sellType,  String? productName,  String? sellerType,  String? type,  String? saleType,  String? allocationType,  bool? systemRegistrationCode,  int? registrationCode,  int? amount,  int? totalAmount,  int? totalAmountPaid,  int? totalAmountRemain,  dynamic loggedRegistrationCode,  String? state,  String? receiverState,  String? allocationState,  String? date,  dynamic role,  dynamic stewardTempKey,  bool? approvedPriceStatus,  bool? calculateStatus,  bool? temporaryTrash,  bool? temporaryDeleted,  dynamic createdBy,  dynamic modifiedBy,  dynamic wareHouse,  dynamic stewardWareHouse,  dynamic car,  dynamic dispenser)?  $default,) {final _that = this;
switch (_that) {
case _ImportedLoadsModel() when $default != null:
return $default(_that.id,_that.product,_that.killHouse,_that.toKillHouse,_that.steward,_that.toSteward,_that.guilds,_that.toGuilds,_that.toColdHouse,_that.indexWeight,_that.dateTimestamp,_that.newState,_that.newReceiverState,_that.newAllocationState,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.numberOfCarcasses,_that.realNumberOfCarcasses,_that.receiverRealNumberOfCarcasses,_that.weightOfCarcasses,_that.realWeightOfCarcasses,_that.receiverRealWeightOfCarcasses,_that.weightLossOfCarcasses,_that.finalRegistration,_that.sellType,_that.productName,_that.sellerType,_that.type,_that.saleType,_that.allocationType,_that.systemRegistrationCode,_that.registrationCode,_that.amount,_that.totalAmount,_that.totalAmountPaid,_that.totalAmountRemain,_that.loggedRegistrationCode,_that.state,_that.receiverState,_that.allocationState,_that.date,_that.role,_that.stewardTempKey,_that.approvedPriceStatus,_that.calculateStatus,_that.temporaryTrash,_that.temporaryDeleted,_that.createdBy,_that.modifiedBy,_that.wareHouse,_that.stewardWareHouse,_that.car,_that.dispenser);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _ImportedLoadsModel implements ImportedLoadsModel {
  const _ImportedLoadsModel({this.id, this.product, this.killHouse, this.toKillHouse, this.steward, this.toSteward, this.guilds, this.toGuilds, this.toColdHouse, this.indexWeight, this.dateTimestamp, this.newState, this.newReceiverState, this.newAllocationState, this.key, this.createDate, this.modifyDate, this.trash, this.numberOfCarcasses, this.realNumberOfCarcasses, this.receiverRealNumberOfCarcasses, this.weightOfCarcasses, this.realWeightOfCarcasses, this.receiverRealWeightOfCarcasses, this.weightLossOfCarcasses, this.finalRegistration, this.sellType, this.productName, this.sellerType, this.type, this.saleType, this.allocationType, this.systemRegistrationCode, this.registrationCode, this.amount, this.totalAmount, this.totalAmountPaid, this.totalAmountRemain, this.loggedRegistrationCode, this.state, this.receiverState, this.allocationState, this.date, this.role, this.stewardTempKey, this.approvedPriceStatus, this.calculateStatus, this.temporaryTrash, this.temporaryDeleted, this.createdBy, this.modifiedBy, this.wareHouse, this.stewardWareHouse, this.car, this.dispenser});
  factory _ImportedLoadsModel.fromJson(Map<String, dynamic> json) => _$ImportedLoadsModelFromJson(json);

@override final  int? id;
@override final  Product? product;
@override final  KillHouse? killHouse;
@override final  dynamic toKillHouse;
@override final  dynamic steward;
@override final  ToSteward? toSteward;
@override final  dynamic guilds;
@override final  dynamic toGuilds;
@override final  dynamic toColdHouse;
@override final  int? indexWeight;
@override final  int? dateTimestamp;
@override final  int? newState;
@override final  int? newReceiverState;
@override final  int? newAllocationState;
@override final  String? key;
@override final  String? createDate;
@override final  String? modifyDate;
@override final  bool? trash;
@override final  int? numberOfCarcasses;
@override final  int? realNumberOfCarcasses;
@override final  int? receiverRealNumberOfCarcasses;
@override final  double? weightOfCarcasses;
@override final  double? realWeightOfCarcasses;
@override final  double? receiverRealWeightOfCarcasses;
@override final  double? weightLossOfCarcasses;
@override final  bool? finalRegistration;
@override final  String? sellType;
@override final  String? productName;
@override final  String? sellerType;
@override final  String? type;
@override final  String? saleType;
@override final  String? allocationType;
@override final  bool? systemRegistrationCode;
@override final  int? registrationCode;
@override final  int? amount;
@override final  int? totalAmount;
@override final  int? totalAmountPaid;
@override final  int? totalAmountRemain;
@override final  dynamic loggedRegistrationCode;
@override final  String? state;
@override final  String? receiverState;
@override final  String? allocationState;
@override final  String? date;
@override final  dynamic role;
@override final  dynamic stewardTempKey;
@override final  bool? approvedPriceStatus;
@override final  bool? calculateStatus;
@override final  bool? temporaryTrash;
@override final  bool? temporaryDeleted;
@override final  dynamic createdBy;
@override final  dynamic modifiedBy;
@override final  dynamic wareHouse;
@override final  dynamic stewardWareHouse;
@override final  dynamic car;
@override final  dynamic dispenser;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _ImportedLoadsModel&&(identical(other.id, id) || other.id == id)&&(identical(other.product, product) || other.product == product)&&(identical(other.killHouse, killHouse) || other.killHouse == killHouse)&&const DeepCollectionEquality().equals(other.toKillHouse, toKillHouse)&&const DeepCollectionEquality().equals(other.steward, steward)&&(identical(other.toSteward, toSteward) || other.toSteward == toSteward)&&const DeepCollectionEquality().equals(other.guilds, guilds)&&const DeepCollectionEquality().equals(other.toGuilds, toGuilds)&&const DeepCollectionEquality().equals(other.toColdHouse, toColdHouse)&&(identical(other.indexWeight, indexWeight) || other.indexWeight == indexWeight)&&(identical(other.dateTimestamp, dateTimestamp) || other.dateTimestamp == dateTimestamp)&&(identical(other.newState, newState) || other.newState == newState)&&(identical(other.newReceiverState, newReceiverState) || other.newReceiverState == newReceiverState)&&(identical(other.newAllocationState, newAllocationState) || other.newAllocationState == newAllocationState)&&(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.numberOfCarcasses, numberOfCarcasses) || other.numberOfCarcasses == numberOfCarcasses)&&(identical(other.realNumberOfCarcasses, realNumberOfCarcasses) || other.realNumberOfCarcasses == realNumberOfCarcasses)&&(identical(other.receiverRealNumberOfCarcasses, receiverRealNumberOfCarcasses) || other.receiverRealNumberOfCarcasses == receiverRealNumberOfCarcasses)&&(identical(other.weightOfCarcasses, weightOfCarcasses) || other.weightOfCarcasses == weightOfCarcasses)&&(identical(other.realWeightOfCarcasses, realWeightOfCarcasses) || other.realWeightOfCarcasses == realWeightOfCarcasses)&&(identical(other.receiverRealWeightOfCarcasses, receiverRealWeightOfCarcasses) || other.receiverRealWeightOfCarcasses == receiverRealWeightOfCarcasses)&&(identical(other.weightLossOfCarcasses, weightLossOfCarcasses) || other.weightLossOfCarcasses == weightLossOfCarcasses)&&(identical(other.finalRegistration, finalRegistration) || other.finalRegistration == finalRegistration)&&(identical(other.sellType, sellType) || other.sellType == sellType)&&(identical(other.productName, productName) || other.productName == productName)&&(identical(other.sellerType, sellerType) || other.sellerType == sellerType)&&(identical(other.type, type) || other.type == type)&&(identical(other.saleType, saleType) || other.saleType == saleType)&&(identical(other.allocationType, allocationType) || other.allocationType == allocationType)&&(identical(other.systemRegistrationCode, systemRegistrationCode) || other.systemRegistrationCode == systemRegistrationCode)&&(identical(other.registrationCode, registrationCode) || other.registrationCode == registrationCode)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.totalAmount, totalAmount) || other.totalAmount == totalAmount)&&(identical(other.totalAmountPaid, totalAmountPaid) || other.totalAmountPaid == totalAmountPaid)&&(identical(other.totalAmountRemain, totalAmountRemain) || other.totalAmountRemain == totalAmountRemain)&&const DeepCollectionEquality().equals(other.loggedRegistrationCode, loggedRegistrationCode)&&(identical(other.state, state) || other.state == state)&&(identical(other.receiverState, receiverState) || other.receiverState == receiverState)&&(identical(other.allocationState, allocationState) || other.allocationState == allocationState)&&(identical(other.date, date) || other.date == date)&&const DeepCollectionEquality().equals(other.role, role)&&const DeepCollectionEquality().equals(other.stewardTempKey, stewardTempKey)&&(identical(other.approvedPriceStatus, approvedPriceStatus) || other.approvedPriceStatus == approvedPriceStatus)&&(identical(other.calculateStatus, calculateStatus) || other.calculateStatus == calculateStatus)&&(identical(other.temporaryTrash, temporaryTrash) || other.temporaryTrash == temporaryTrash)&&(identical(other.temporaryDeleted, temporaryDeleted) || other.temporaryDeleted == temporaryDeleted)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&const DeepCollectionEquality().equals(other.wareHouse, wareHouse)&&const DeepCollectionEquality().equals(other.stewardWareHouse, stewardWareHouse)&&const DeepCollectionEquality().equals(other.car, car)&&const DeepCollectionEquality().equals(other.dispenser, dispenser));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,product,killHouse,const DeepCollectionEquality().hash(toKillHouse),const DeepCollectionEquality().hash(steward),toSteward,const DeepCollectionEquality().hash(guilds),const DeepCollectionEquality().hash(toGuilds),const DeepCollectionEquality().hash(toColdHouse),indexWeight,dateTimestamp,newState,newReceiverState,newAllocationState,key,createDate,modifyDate,trash,numberOfCarcasses,realNumberOfCarcasses,receiverRealNumberOfCarcasses,weightOfCarcasses,realWeightOfCarcasses,receiverRealWeightOfCarcasses,weightLossOfCarcasses,finalRegistration,sellType,productName,sellerType,type,saleType,allocationType,systemRegistrationCode,registrationCode,amount,totalAmount,totalAmountPaid,totalAmountRemain,const DeepCollectionEquality().hash(loggedRegistrationCode),state,receiverState,allocationState,date,const DeepCollectionEquality().hash(role),const DeepCollectionEquality().hash(stewardTempKey),approvedPriceStatus,calculateStatus,temporaryTrash,temporaryDeleted,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),const DeepCollectionEquality().hash(wareHouse),const DeepCollectionEquality().hash(stewardWareHouse),const DeepCollectionEquality().hash(car),const DeepCollectionEquality().hash(dispenser)]);

@override
String toString() {
  return 'ImportedLoadsModel(id: $id, product: $product, killHouse: $killHouse, toKillHouse: $toKillHouse, steward: $steward, toSteward: $toSteward, guilds: $guilds, toGuilds: $toGuilds, toColdHouse: $toColdHouse, indexWeight: $indexWeight, dateTimestamp: $dateTimestamp, newState: $newState, newReceiverState: $newReceiverState, newAllocationState: $newAllocationState, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, numberOfCarcasses: $numberOfCarcasses, realNumberOfCarcasses: $realNumberOfCarcasses, receiverRealNumberOfCarcasses: $receiverRealNumberOfCarcasses, weightOfCarcasses: $weightOfCarcasses, realWeightOfCarcasses: $realWeightOfCarcasses, receiverRealWeightOfCarcasses: $receiverRealWeightOfCarcasses, weightLossOfCarcasses: $weightLossOfCarcasses, finalRegistration: $finalRegistration, sellType: $sellType, productName: $productName, sellerType: $sellerType, type: $type, saleType: $saleType, allocationType: $allocationType, systemRegistrationCode: $systemRegistrationCode, registrationCode: $registrationCode, amount: $amount, totalAmount: $totalAmount, totalAmountPaid: $totalAmountPaid, totalAmountRemain: $totalAmountRemain, loggedRegistrationCode: $loggedRegistrationCode, state: $state, receiverState: $receiverState, allocationState: $allocationState, date: $date, role: $role, stewardTempKey: $stewardTempKey, approvedPriceStatus: $approvedPriceStatus, calculateStatus: $calculateStatus, temporaryTrash: $temporaryTrash, temporaryDeleted: $temporaryDeleted, createdBy: $createdBy, modifiedBy: $modifiedBy, wareHouse: $wareHouse, stewardWareHouse: $stewardWareHouse, car: $car, dispenser: $dispenser)';
}


}

/// @nodoc
abstract mixin class _$ImportedLoadsModelCopyWith<$Res> implements $ImportedLoadsModelCopyWith<$Res> {
  factory _$ImportedLoadsModelCopyWith(_ImportedLoadsModel value, $Res Function(_ImportedLoadsModel) _then) = __$ImportedLoadsModelCopyWithImpl;
@override @useResult
$Res call({
 int? id, Product? product, KillHouse? killHouse, dynamic toKillHouse, dynamic steward, ToSteward? toSteward, dynamic guilds, dynamic toGuilds, dynamic toColdHouse, int? indexWeight, int? dateTimestamp, int? newState, int? newReceiverState, int? newAllocationState, String? key, String? createDate, String? modifyDate, bool? trash, int? numberOfCarcasses, int? realNumberOfCarcasses, int? receiverRealNumberOfCarcasses, double? weightOfCarcasses, double? realWeightOfCarcasses, double? receiverRealWeightOfCarcasses, double? weightLossOfCarcasses, bool? finalRegistration, String? sellType, String? productName, String? sellerType, String? type, String? saleType, String? allocationType, bool? systemRegistrationCode, int? registrationCode, int? amount, int? totalAmount, int? totalAmountPaid, int? totalAmountRemain, dynamic loggedRegistrationCode, String? state, String? receiverState, String? allocationState, String? date, dynamic role, dynamic stewardTempKey, bool? approvedPriceStatus, bool? calculateStatus, bool? temporaryTrash, bool? temporaryDeleted, dynamic createdBy, dynamic modifiedBy, dynamic wareHouse, dynamic stewardWareHouse, dynamic car, dynamic dispenser
});


@override $ProductCopyWith<$Res>? get product;@override $KillHouseCopyWith<$Res>? get killHouse;@override $ToStewardCopyWith<$Res>? get toSteward;

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

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

/// Create a copy of ImportedLoadsModel
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? product = freezed,Object? killHouse = freezed,Object? toKillHouse = freezed,Object? steward = freezed,Object? toSteward = freezed,Object? guilds = freezed,Object? toGuilds = freezed,Object? toColdHouse = freezed,Object? indexWeight = freezed,Object? dateTimestamp = freezed,Object? newState = freezed,Object? newReceiverState = freezed,Object? newAllocationState = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? numberOfCarcasses = freezed,Object? realNumberOfCarcasses = freezed,Object? receiverRealNumberOfCarcasses = freezed,Object? weightOfCarcasses = freezed,Object? realWeightOfCarcasses = freezed,Object? receiverRealWeightOfCarcasses = freezed,Object? weightLossOfCarcasses = freezed,Object? finalRegistration = freezed,Object? sellType = freezed,Object? productName = freezed,Object? sellerType = freezed,Object? type = freezed,Object? saleType = freezed,Object? allocationType = freezed,Object? systemRegistrationCode = freezed,Object? registrationCode = freezed,Object? amount = freezed,Object? totalAmount = freezed,Object? totalAmountPaid = freezed,Object? totalAmountRemain = freezed,Object? loggedRegistrationCode = freezed,Object? state = freezed,Object? receiverState = freezed,Object? allocationState = freezed,Object? date = freezed,Object? role = freezed,Object? stewardTempKey = freezed,Object? approvedPriceStatus = freezed,Object? calculateStatus = freezed,Object? temporaryTrash = freezed,Object? temporaryDeleted = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? wareHouse = freezed,Object? stewardWareHouse = freezed,Object? car = freezed,Object? dispenser = freezed,}) {
  return _then(_ImportedLoadsModel(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,product: freezed == product ? _self.product : product // ignore: cast_nullable_to_non_nullable
as Product?,killHouse: freezed == killHouse ? _self.killHouse : killHouse // ignore: cast_nullable_to_non_nullable
as KillHouse?,toKillHouse: freezed == toKillHouse ? _self.toKillHouse : toKillHouse // ignore: cast_nullable_to_non_nullable
as dynamic,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as dynamic,toSteward: freezed == toSteward ? _self.toSteward : toSteward // ignore: cast_nullable_to_non_nullable
as ToSteward?,guilds: freezed == guilds ? _self.guilds : guilds // ignore: cast_nullable_to_non_nullable
as dynamic,toGuilds: freezed == toGuilds ? _self.toGuilds : toGuilds // ignore: cast_nullable_to_non_nullable
as dynamic,toColdHouse: freezed == toColdHouse ? _self.toColdHouse : toColdHouse // ignore: cast_nullable_to_non_nullable
as dynamic,indexWeight: freezed == indexWeight ? _self.indexWeight : indexWeight // ignore: cast_nullable_to_non_nullable
as int?,dateTimestamp: freezed == dateTimestamp ? _self.dateTimestamp : dateTimestamp // ignore: cast_nullable_to_non_nullable
as int?,newState: freezed == newState ? _self.newState : newState // ignore: cast_nullable_to_non_nullable
as int?,newReceiverState: freezed == newReceiverState ? _self.newReceiverState : newReceiverState // ignore: cast_nullable_to_non_nullable
as int?,newAllocationState: freezed == newAllocationState ? _self.newAllocationState : newAllocationState // ignore: cast_nullable_to_non_nullable
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,numberOfCarcasses: freezed == numberOfCarcasses ? _self.numberOfCarcasses : numberOfCarcasses // ignore: cast_nullable_to_non_nullable
as int?,realNumberOfCarcasses: freezed == realNumberOfCarcasses ? _self.realNumberOfCarcasses : realNumberOfCarcasses // ignore: cast_nullable_to_non_nullable
as int?,receiverRealNumberOfCarcasses: freezed == receiverRealNumberOfCarcasses ? _self.receiverRealNumberOfCarcasses : receiverRealNumberOfCarcasses // ignore: cast_nullable_to_non_nullable
as int?,weightOfCarcasses: freezed == weightOfCarcasses ? _self.weightOfCarcasses : weightOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,realWeightOfCarcasses: freezed == realWeightOfCarcasses ? _self.realWeightOfCarcasses : realWeightOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,receiverRealWeightOfCarcasses: freezed == receiverRealWeightOfCarcasses ? _self.receiverRealWeightOfCarcasses : receiverRealWeightOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,weightLossOfCarcasses: freezed == weightLossOfCarcasses ? _self.weightLossOfCarcasses : weightLossOfCarcasses // ignore: cast_nullable_to_non_nullable
as double?,finalRegistration: freezed == finalRegistration ? _self.finalRegistration : finalRegistration // ignore: cast_nullable_to_non_nullable
as bool?,sellType: freezed == sellType ? _self.sellType : sellType // ignore: cast_nullable_to_non_nullable
as String?,productName: freezed == productName ? _self.productName : productName // ignore: cast_nullable_to_non_nullable
as String?,sellerType: freezed == sellerType ? _self.sellerType : sellerType // ignore: cast_nullable_to_non_nullable
as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String?,saleType: freezed == saleType ? _self.saleType : saleType // ignore: cast_nullable_to_non_nullable
as String?,allocationType: freezed == allocationType ? _self.allocationType : allocationType // ignore: cast_nullable_to_non_nullable
as String?,systemRegistrationCode: freezed == systemRegistrationCode ? _self.systemRegistrationCode : systemRegistrationCode // ignore: cast_nullable_to_non_nullable
as bool?,registrationCode: freezed == registrationCode ? _self.registrationCode : registrationCode // ignore: cast_nullable_to_non_nullable
as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
as int?,totalAmount: freezed == totalAmount ? _self.totalAmount : totalAmount // ignore: cast_nullable_to_non_nullable
as int?,totalAmountPaid: freezed == totalAmountPaid ? _self.totalAmountPaid : totalAmountPaid // ignore: cast_nullable_to_non_nullable
as int?,totalAmountRemain: freezed == totalAmountRemain ? _self.totalAmountRemain : totalAmountRemain // ignore: cast_nullable_to_non_nullable
as int?,loggedRegistrationCode: freezed == loggedRegistrationCode ? _self.loggedRegistrationCode : loggedRegistrationCode // ignore: cast_nullable_to_non_nullable
as dynamic,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
as String?,receiverState: freezed == receiverState ? _self.receiverState : receiverState // ignore: cast_nullable_to_non_nullable
as String?,allocationState: freezed == allocationState ? _self.allocationState : allocationState // ignore: cast_nullable_to_non_nullable
as String?,date: freezed == date ? _self.date : date // ignore: cast_nullable_to_non_nullable
as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable
as dynamic,stewardTempKey: freezed == stewardTempKey ? _self.stewardTempKey : stewardTempKey // ignore: cast_nullable_to_non_nullable
as dynamic,approvedPriceStatus: freezed == approvedPriceStatus ? _self.approvedPriceStatus : approvedPriceStatus // ignore: cast_nullable_to_non_nullable
as bool?,calculateStatus: freezed == calculateStatus ? _self.calculateStatus : calculateStatus // ignore: cast_nullable_to_non_nullable
as bool?,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?,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,wareHouse: freezed == wareHouse ? _self.wareHouse : wareHouse // ignore: cast_nullable_to_non_nullable
as dynamic,stewardWareHouse: freezed == stewardWareHouse ? _self.stewardWareHouse : stewardWareHouse // ignore: cast_nullable_to_non_nullable
as dynamic,car: freezed == car ? _self.car : car // ignore: cast_nullable_to_non_nullable
as dynamic,dispenser: freezed == dispenser ? _self.dispenser : dispenser // ignore: cast_nullable_to_non_nullable
as dynamic,
  ));
}

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

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

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

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


/// @nodoc
mixin _$Product {

 double? get weightAverage;
/// Create a copy of Product
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$ProductCopyWith<Product> get copyWith => _$ProductCopyWithImpl<Product>(this as Product, _$identity);

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


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

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

@override
String toString() {
  return 'Product(weightAverage: $weightAverage)';
}


}

/// @nodoc
abstract mixin class $ProductCopyWith<$Res>  {
  factory $ProductCopyWith(Product value, $Res Function(Product) _then) = _$ProductCopyWithImpl;
@useResult
$Res call({
 double? weightAverage
});




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

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

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

}


/// Adds pattern-matching-related methods to [Product].
extension ProductPatterns on Product {
/// 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( _Product value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _Product() 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( _Product value)  $default,){
final _that = this;
switch (_that) {
case _Product():
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( _Product value)?  $default,){
final _that = this;
switch (_that) {
case _Product() 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( double? weightAverage)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _Product() when $default != null:
return $default(_that.weightAverage);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( double? weightAverage)  $default,) {final _that = this;
switch (_that) {
case _Product():
return $default(_that.weightAverage);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( double? weightAverage)?  $default,) {final _that = this;
switch (_that) {
case _Product() when $default != null:
return $default(_that.weightAverage);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _Product implements Product {
  const _Product({this.weightAverage});
  factory _Product.fromJson(Map<String, dynamic> json) => _$ProductFromJson(json);

@override final  double? weightAverage;

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

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

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

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

@override
String toString() {
  return 'Product(weightAverage: $weightAverage)';
}


}

/// @nodoc
abstract mixin class _$ProductCopyWith<$Res> implements $ProductCopyWith<$Res> {
  factory _$ProductCopyWith(_Product value, $Res Function(_Product) _then) = __$ProductCopyWithImpl;
@override @useResult
$Res call({
 double? weightAverage
});




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

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

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


}


/// @nodoc
mixin _$KillHouse {

 String? get key; KillHouseOperator? get killHouseOperator; String? get name; bool? get killer;
/// Create a copy of KillHouse
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$KillHouseCopyWith<KillHouse> get copyWith => _$KillHouseCopyWithImpl<KillHouse>(this as KillHouse, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is KillHouse&&(identical(other.key, key) || other.key == key)&&(identical(other.killHouseOperator, killHouseOperator) || other.killHouseOperator == killHouseOperator)&&(identical(other.name, name) || other.name == name)&&(identical(other.killer, killer) || other.killer == killer));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,key,killHouseOperator,name,killer);

@override
String toString() {
  return 'KillHouse(key: $key, killHouseOperator: $killHouseOperator, name: $name, killer: $killer)';
}


}

/// @nodoc
abstract mixin class $KillHouseCopyWith<$Res>  {
  factory $KillHouseCopyWith(KillHouse value, $Res Function(KillHouse) _then) = _$KillHouseCopyWithImpl;
@useResult
$Res call({
 String? key, KillHouseOperator? killHouseOperator, String? name, bool? killer
});


$KillHouseOperatorCopyWith<$Res>? get killHouseOperator;

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

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

/// Create a copy of KillHouse
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? key = freezed,Object? killHouseOperator = freezed,Object? name = freezed,Object? killer = freezed,}) {
  return _then(_self.copyWith(
key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,killHouseOperator: freezed == killHouseOperator ? _self.killHouseOperator : killHouseOperator // ignore: cast_nullable_to_non_nullable
as KillHouseOperator?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
as String?,killer: freezed == killer ? _self.killer : killer // ignore: cast_nullable_to_non_nullable
as bool?,
  ));
}
/// Create a copy of KillHouse
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$KillHouseOperatorCopyWith<$Res>? get killHouseOperator {
    if (_self.killHouseOperator == null) {
    return null;
  }

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


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

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

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String? key,  KillHouseOperator? killHouseOperator,  String? name,  bool? killer)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _KillHouse() when $default != null:
return $default(_that.key,_that.killHouseOperator,_that.name,_that.killer);case _:
  return orElse();

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

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String? key,  KillHouseOperator? killHouseOperator,  String? name,  bool? killer)  $default,) {final _that = this;
switch (_that) {
case _KillHouse():
return $default(_that.key,_that.killHouseOperator,_that.name,_that.killer);case _:
  throw StateError('Unexpected subclass');

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

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String? key,  KillHouseOperator? killHouseOperator,  String? name,  bool? killer)?  $default,) {final _that = this;
switch (_that) {
case _KillHouse() when $default != null:
return $default(_that.key,_that.killHouseOperator,_that.name,_that.killer);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _KillHouse implements KillHouse {
  const _KillHouse({this.key, this.killHouseOperator, this.name, this.killer});
  factory _KillHouse.fromJson(Map<String, dynamic> json) => _$KillHouseFromJson(json);

@override final  String? key;
@override final  KillHouseOperator? killHouseOperator;
@override final  String? name;
@override final  bool? killer;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _KillHouse&&(identical(other.key, key) || other.key == key)&&(identical(other.killHouseOperator, killHouseOperator) || other.killHouseOperator == killHouseOperator)&&(identical(other.name, name) || other.name == name)&&(identical(other.killer, killer) || other.killer == killer));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,key,killHouseOperator,name,killer);

@override
String toString() {
  return 'KillHouse(key: $key, killHouseOperator: $killHouseOperator, name: $name, killer: $killer)';
}


}

/// @nodoc
abstract mixin class _$KillHouseCopyWith<$Res> implements $KillHouseCopyWith<$Res> {
  factory _$KillHouseCopyWith(_KillHouse value, $Res Function(_KillHouse) _then) = __$KillHouseCopyWithImpl;
@override @useResult
$Res call({
 String? key, KillHouseOperator? killHouseOperator, String? name, bool? killer
});


@override $KillHouseOperatorCopyWith<$Res>? get killHouseOperator;

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

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

/// Create a copy of KillHouse
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? key = freezed,Object? killHouseOperator = freezed,Object? name = freezed,Object? killer = freezed,}) {
  return _then(_KillHouse(
key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,killHouseOperator: freezed == killHouseOperator ? _self.killHouseOperator : killHouseOperator // ignore: cast_nullable_to_non_nullable
as KillHouseOperator?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
as String?,killer: freezed == killer ? _self.killer : killer // ignore: cast_nullable_to_non_nullable
as bool?,
  ));
}

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

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


/// @nodoc
mixin _$KillHouseOperator {

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

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


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

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

@override
String toString() {
  return 'KillHouseOperator(user: $user)';
}


}

/// @nodoc
abstract mixin class $KillHouseOperatorCopyWith<$Res>  {
  factory $KillHouseOperatorCopyWith(KillHouseOperator value, $Res Function(KillHouseOperator) _then) = _$KillHouseOperatorCopyWithImpl;
@useResult
$Res call({
 User? user
});


$UserCopyWith<$Res>? get user;

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

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

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

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


/// Adds pattern-matching-related methods to [KillHouseOperator].
extension KillHouseOperatorPatterns on KillHouseOperator {
/// 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( _KillHouseOperator value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _KillHouseOperator() 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( _KillHouseOperator value)  $default,){
final _that = this;
switch (_that) {
case _KillHouseOperator():
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( _KillHouseOperator value)?  $default,){
final _that = this;
switch (_that) {
case _KillHouseOperator() 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( User? user)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _KillHouseOperator() when $default != null:
return $default(_that.user);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( User? user)  $default,) {final _that = this;
switch (_that) {
case _KillHouseOperator():
return $default(_that.user);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( User? user)?  $default,) {final _that = this;
switch (_that) {
case _KillHouseOperator() when $default != null:
return $default(_that.user);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _KillHouseOperator implements KillHouseOperator {
  const _KillHouseOperator({this.user});
  factory _KillHouseOperator.fromJson(Map<String, dynamic> json) => _$KillHouseOperatorFromJson(json);

@override final  User? user;

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

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

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

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

@override
String toString() {
  return 'KillHouseOperator(user: $user)';
}


}

/// @nodoc
abstract mixin class _$KillHouseOperatorCopyWith<$Res> implements $KillHouseOperatorCopyWith<$Res> {
  factory _$KillHouseOperatorCopyWith(_KillHouseOperator value, $Res Function(_KillHouseOperator) _then) = __$KillHouseOperatorCopyWithImpl;
@override @useResult
$Res call({
 User? user
});


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

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

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

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

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

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


/// @nodoc
mixin _$User {

 String? get fullname; String? get firstName; String? get lastName; int? get baseOrder; String? get mobile; String? get nationalId; String? get nationalCode; String? get key; City? get city; String? get unitName; String? get unitNationalId; String? get unitRegistrationNumber; String? get unitEconomicalNumber; String? get unitProvince; String? get unitCity; String? get unitPostalCode; String? get unitAddress;
/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$UserCopyWith<User> get copyWith => _$UserCopyWithImpl<User>(this as User, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.baseOrder, baseOrder) || other.baseOrder == baseOrder)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.nationalId, nationalId) || other.nationalId == nationalId)&&(identical(other.nationalCode, nationalCode) || other.nationalCode == nationalCode)&&(identical(other.key, key) || other.key == key)&&(identical(other.city, city) || other.city == city)&&(identical(other.unitName, unitName) || other.unitName == unitName)&&(identical(other.unitNationalId, unitNationalId) || other.unitNationalId == unitNationalId)&&(identical(other.unitRegistrationNumber, unitRegistrationNumber) || other.unitRegistrationNumber == unitRegistrationNumber)&&(identical(other.unitEconomicalNumber, unitEconomicalNumber) || other.unitEconomicalNumber == unitEconomicalNumber)&&(identical(other.unitProvince, unitProvince) || other.unitProvince == unitProvince)&&(identical(other.unitCity, unitCity) || other.unitCity == unitCity)&&(identical(other.unitPostalCode, unitPostalCode) || other.unitPostalCode == unitPostalCode)&&(identical(other.unitAddress, unitAddress) || other.unitAddress == unitAddress));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,fullname,firstName,lastName,baseOrder,mobile,nationalId,nationalCode,key,city,unitName,unitNationalId,unitRegistrationNumber,unitEconomicalNumber,unitProvince,unitCity,unitPostalCode,unitAddress);

@override
String toString() {
  return 'User(fullname: $fullname, firstName: $firstName, lastName: $lastName, baseOrder: $baseOrder, mobile: $mobile, nationalId: $nationalId, nationalCode: $nationalCode, key: $key, city: $city, unitName: $unitName, unitNationalId: $unitNationalId, unitRegistrationNumber: $unitRegistrationNumber, unitEconomicalNumber: $unitEconomicalNumber, unitProvince: $unitProvince, unitCity: $unitCity, unitPostalCode: $unitPostalCode, unitAddress: $unitAddress)';
}


}

/// @nodoc
abstract mixin class $UserCopyWith<$Res>  {
  factory $UserCopyWith(User value, $Res Function(User) _then) = _$UserCopyWithImpl;
@useResult
$Res call({
 String? fullname, String? firstName, String? lastName, int? baseOrder, String? mobile, String? nationalId, String? nationalCode, String? key, City? city, String? unitName, String? unitNationalId, String? unitRegistrationNumber, String? unitEconomicalNumber, String? unitProvince, String? unitCity, String? unitPostalCode, String? unitAddress
});


$CityCopyWith<$Res>? get city;

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

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

/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? fullname = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? baseOrder = freezed,Object? mobile = freezed,Object? nationalId = freezed,Object? nationalCode = freezed,Object? key = freezed,Object? city = freezed,Object? unitName = freezed,Object? unitNationalId = freezed,Object? unitRegistrationNumber = freezed,Object? unitEconomicalNumber = freezed,Object? unitProvince = freezed,Object? unitCity = freezed,Object? unitPostalCode = freezed,Object? unitAddress = freezed,}) {
  return _then(_self.copyWith(
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable
as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable
as String?,baseOrder: freezed == baseOrder ? _self.baseOrder : baseOrder // ignore: cast_nullable_to_non_nullable
as int?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,nationalId: freezed == nationalId ? _self.nationalId : nationalId // ignore: cast_nullable_to_non_nullable
as String?,nationalCode: freezed == nationalCode ? _self.nationalCode : nationalCode // ignore: cast_nullable_to_non_nullable
as String?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
as City?,unitName: freezed == unitName ? _self.unitName : unitName // ignore: cast_nullable_to_non_nullable
as String?,unitNationalId: freezed == unitNationalId ? _self.unitNationalId : unitNationalId // ignore: cast_nullable_to_non_nullable
as String?,unitRegistrationNumber: freezed == unitRegistrationNumber ? _self.unitRegistrationNumber : unitRegistrationNumber // ignore: cast_nullable_to_non_nullable
as String?,unitEconomicalNumber: freezed == unitEconomicalNumber ? _self.unitEconomicalNumber : unitEconomicalNumber // ignore: cast_nullable_to_non_nullable
as String?,unitProvince: freezed == unitProvince ? _self.unitProvince : unitProvince // ignore: cast_nullable_to_non_nullable
as String?,unitCity: freezed == unitCity ? _self.unitCity : unitCity // ignore: cast_nullable_to_non_nullable
as String?,unitPostalCode: freezed == unitPostalCode ? _self.unitPostalCode : unitPostalCode // ignore: cast_nullable_to_non_nullable
as String?,unitAddress: freezed == unitAddress ? _self.unitAddress : unitAddress // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}
/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$CityCopyWith<$Res>? get city {
    if (_self.city == null) {
    return null;
  }

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


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

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

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

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

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

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

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

@optionalTypeArgs TResult maybeWhen<TResult extends Object?>(TResult Function( String? fullname,  String? firstName,  String? lastName,  int? baseOrder,  String? mobile,  String? nationalId,  String? nationalCode,  String? key,  City? city,  String? unitName,  String? unitNationalId,  String? unitRegistrationNumber,  String? unitEconomicalNumber,  String? unitProvince,  String? unitCity,  String? unitPostalCode,  String? unitAddress)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _User() when $default != null:
return $default(_that.fullname,_that.firstName,_that.lastName,_that.baseOrder,_that.mobile,_that.nationalId,_that.nationalCode,_that.key,_that.city,_that.unitName,_that.unitNationalId,_that.unitRegistrationNumber,_that.unitEconomicalNumber,_that.unitProvince,_that.unitCity,_that.unitPostalCode,_that.unitAddress);case _:
  return orElse();

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

@optionalTypeArgs TResult when<TResult extends Object?>(TResult Function( String? fullname,  String? firstName,  String? lastName,  int? baseOrder,  String? mobile,  String? nationalId,  String? nationalCode,  String? key,  City? city,  String? unitName,  String? unitNationalId,  String? unitRegistrationNumber,  String? unitEconomicalNumber,  String? unitProvince,  String? unitCity,  String? unitPostalCode,  String? unitAddress)  $default,) {final _that = this;
switch (_that) {
case _User():
return $default(_that.fullname,_that.firstName,_that.lastName,_that.baseOrder,_that.mobile,_that.nationalId,_that.nationalCode,_that.key,_that.city,_that.unitName,_that.unitNationalId,_that.unitRegistrationNumber,_that.unitEconomicalNumber,_that.unitProvince,_that.unitCity,_that.unitPostalCode,_that.unitAddress);case _:
  throw StateError('Unexpected subclass');

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

@optionalTypeArgs TResult? whenOrNull<TResult extends Object?>(TResult? Function( String? fullname,  String? firstName,  String? lastName,  int? baseOrder,  String? mobile,  String? nationalId,  String? nationalCode,  String? key,  City? city,  String? unitName,  String? unitNationalId,  String? unitRegistrationNumber,  String? unitEconomicalNumber,  String? unitProvince,  String? unitCity,  String? unitPostalCode,  String? unitAddress)?  $default,) {final _that = this;
switch (_that) {
case _User() when $default != null:
return $default(_that.fullname,_that.firstName,_that.lastName,_that.baseOrder,_that.mobile,_that.nationalId,_that.nationalCode,_that.key,_that.city,_that.unitName,_that.unitNationalId,_that.unitRegistrationNumber,_that.unitEconomicalNumber,_that.unitProvince,_that.unitCity,_that.unitPostalCode,_that.unitAddress);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _User implements User {
  const _User({this.fullname, this.firstName, this.lastName, this.baseOrder, this.mobile, this.nationalId, this.nationalCode, this.key, this.city, this.unitName, this.unitNationalId, this.unitRegistrationNumber, this.unitEconomicalNumber, this.unitProvince, this.unitCity, this.unitPostalCode, this.unitAddress});
  factory _User.fromJson(Map<String, dynamic> json) => _$UserFromJson(json);

@override final  String? fullname;
@override final  String? firstName;
@override final  String? lastName;
@override final  int? baseOrder;
@override final  String? mobile;
@override final  String? nationalId;
@override final  String? nationalCode;
@override final  String? key;
@override final  City? city;
@override final  String? unitName;
@override final  String? unitNationalId;
@override final  String? unitRegistrationNumber;
@override final  String? unitEconomicalNumber;
@override final  String? unitProvince;
@override final  String? unitCity;
@override final  String? unitPostalCode;
@override final  String? unitAddress;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _User&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.baseOrder, baseOrder) || other.baseOrder == baseOrder)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.nationalId, nationalId) || other.nationalId == nationalId)&&(identical(other.nationalCode, nationalCode) || other.nationalCode == nationalCode)&&(identical(other.key, key) || other.key == key)&&(identical(other.city, city) || other.city == city)&&(identical(other.unitName, unitName) || other.unitName == unitName)&&(identical(other.unitNationalId, unitNationalId) || other.unitNationalId == unitNationalId)&&(identical(other.unitRegistrationNumber, unitRegistrationNumber) || other.unitRegistrationNumber == unitRegistrationNumber)&&(identical(other.unitEconomicalNumber, unitEconomicalNumber) || other.unitEconomicalNumber == unitEconomicalNumber)&&(identical(other.unitProvince, unitProvince) || other.unitProvince == unitProvince)&&(identical(other.unitCity, unitCity) || other.unitCity == unitCity)&&(identical(other.unitPostalCode, unitPostalCode) || other.unitPostalCode == unitPostalCode)&&(identical(other.unitAddress, unitAddress) || other.unitAddress == unitAddress));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,fullname,firstName,lastName,baseOrder,mobile,nationalId,nationalCode,key,city,unitName,unitNationalId,unitRegistrationNumber,unitEconomicalNumber,unitProvince,unitCity,unitPostalCode,unitAddress);

@override
String toString() {
  return 'User(fullname: $fullname, firstName: $firstName, lastName: $lastName, baseOrder: $baseOrder, mobile: $mobile, nationalId: $nationalId, nationalCode: $nationalCode, key: $key, city: $city, unitName: $unitName, unitNationalId: $unitNationalId, unitRegistrationNumber: $unitRegistrationNumber, unitEconomicalNumber: $unitEconomicalNumber, unitProvince: $unitProvince, unitCity: $unitCity, unitPostalCode: $unitPostalCode, unitAddress: $unitAddress)';
}


}

/// @nodoc
abstract mixin class _$UserCopyWith<$Res> implements $UserCopyWith<$Res> {
  factory _$UserCopyWith(_User value, $Res Function(_User) _then) = __$UserCopyWithImpl;
@override @useResult
$Res call({
 String? fullname, String? firstName, String? lastName, int? baseOrder, String? mobile, String? nationalId, String? nationalCode, String? key, City? city, String? unitName, String? unitNationalId, String? unitRegistrationNumber, String? unitEconomicalNumber, String? unitProvince, String? unitCity, String? unitPostalCode, String? unitAddress
});


@override $CityCopyWith<$Res>? get city;

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

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

/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? fullname = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? baseOrder = freezed,Object? mobile = freezed,Object? nationalId = freezed,Object? nationalCode = freezed,Object? key = freezed,Object? city = freezed,Object? unitName = freezed,Object? unitNationalId = freezed,Object? unitRegistrationNumber = freezed,Object? unitEconomicalNumber = freezed,Object? unitProvince = freezed,Object? unitCity = freezed,Object? unitPostalCode = freezed,Object? unitAddress = freezed,}) {
  return _then(_User(
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable
as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable
as String?,baseOrder: freezed == baseOrder ? _self.baseOrder : baseOrder // ignore: cast_nullable_to_non_nullable
as int?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,nationalId: freezed == nationalId ? _self.nationalId : nationalId // ignore: cast_nullable_to_non_nullable
as String?,nationalCode: freezed == nationalCode ? _self.nationalCode : nationalCode // ignore: cast_nullable_to_non_nullable
as String?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
as City?,unitName: freezed == unitName ? _self.unitName : unitName // ignore: cast_nullable_to_non_nullable
as String?,unitNationalId: freezed == unitNationalId ? _self.unitNationalId : unitNationalId // ignore: cast_nullable_to_non_nullable
as String?,unitRegistrationNumber: freezed == unitRegistrationNumber ? _self.unitRegistrationNumber : unitRegistrationNumber // ignore: cast_nullable_to_non_nullable
as String?,unitEconomicalNumber: freezed == unitEconomicalNumber ? _self.unitEconomicalNumber : unitEconomicalNumber // ignore: cast_nullable_to_non_nullable
as String?,unitProvince: freezed == unitProvince ? _self.unitProvince : unitProvince // ignore: cast_nullable_to_non_nullable
as String?,unitCity: freezed == unitCity ? _self.unitCity : unitCity // ignore: cast_nullable_to_non_nullable
as String?,unitPostalCode: freezed == unitPostalCode ? _self.unitPostalCode : unitPostalCode // ignore: cast_nullable_to_non_nullable
as String?,unitAddress: freezed == unitAddress ? _self.unitAddress : unitAddress // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}

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

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


/// @nodoc
mixin _$City {

 int? get id; String? get key; String? get createDate; String? get modifyDate; bool? get trash; int? get provinceIdForeignKey; int? get cityIdKey; String? get name; double? get productPrice; bool? get provinceCenter; int? get cityNumber; String? get cityName; int? get provinceNumber; String? get provinceName; dynamic get createdBy; dynamic get modifiedBy; int? get province;
/// Create a copy of City
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$CityCopyWith<City> get copyWith => _$CityCopyWithImpl<City>(this as City, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is City&&(identical(other.id, id) || other.id == id)&&(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.provinceIdForeignKey, provinceIdForeignKey) || other.provinceIdForeignKey == provinceIdForeignKey)&&(identical(other.cityIdKey, cityIdKey) || other.cityIdKey == cityIdKey)&&(identical(other.name, name) || other.name == name)&&(identical(other.productPrice, productPrice) || other.productPrice == productPrice)&&(identical(other.provinceCenter, provinceCenter) || other.provinceCenter == provinceCenter)&&(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)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&(identical(other.province, province) || other.province == province));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,id,key,createDate,modifyDate,trash,provinceIdForeignKey,cityIdKey,name,productPrice,provinceCenter,cityNumber,cityName,provinceNumber,provinceName,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),province);

@override
String toString() {
  return 'City(id: $id, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, provinceIdForeignKey: $provinceIdForeignKey, cityIdKey: $cityIdKey, name: $name, productPrice: $productPrice, provinceCenter: $provinceCenter, cityNumber: $cityNumber, cityName: $cityName, provinceNumber: $provinceNumber, provinceName: $provinceName, createdBy: $createdBy, modifiedBy: $modifiedBy, province: $province)';
}


}

/// @nodoc
abstract mixin class $CityCopyWith<$Res>  {
  factory $CityCopyWith(City value, $Res Function(City) _then) = _$CityCopyWithImpl;
@useResult
$Res call({
 int? id, String? key, String? createDate, String? modifyDate, bool? trash, int? provinceIdForeignKey, int? cityIdKey, String? name, double? productPrice, bool? provinceCenter, int? cityNumber, String? cityName, int? provinceNumber, String? provinceName, dynamic createdBy, dynamic modifiedBy, int? province
});




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

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

/// Create a copy of City
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? provinceIdForeignKey = freezed,Object? cityIdKey = freezed,Object? name = freezed,Object? productPrice = freezed,Object? provinceCenter = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? province = freezed,}) {
  return _then(_self.copyWith(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,provinceIdForeignKey: freezed == provinceIdForeignKey ? _self.provinceIdForeignKey : provinceIdForeignKey // ignore: cast_nullable_to_non_nullable
as int?,cityIdKey: freezed == cityIdKey ? _self.cityIdKey : cityIdKey // ignore: cast_nullable_to_non_nullable
as int?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
as String?,productPrice: freezed == productPrice ? _self.productPrice : productPrice // ignore: cast_nullable_to_non_nullable
as double?,provinceCenter: freezed == provinceCenter ? _self.provinceCenter : provinceCenter // ignore: cast_nullable_to_non_nullable
as bool?,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?,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,province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}

}


/// Adds pattern-matching-related methods to [City].
extension CityPatterns on City {
/// 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( _City value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _City() 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( _City value)  $default,){
final _that = this;
switch (_that) {
case _City():
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( _City value)?  $default,){
final _that = this;
switch (_that) {
case _City() 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? key,  String? createDate,  String? modifyDate,  bool? trash,  int? provinceIdForeignKey,  int? cityIdKey,  String? name,  double? productPrice,  bool? provinceCenter,  int? cityNumber,  String? cityName,  int? provinceNumber,  String? provinceName,  dynamic createdBy,  dynamic modifiedBy,  int? province)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _City() when $default != null:
return $default(_that.id,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.provinceIdForeignKey,_that.cityIdKey,_that.name,_that.productPrice,_that.provinceCenter,_that.cityNumber,_that.cityName,_that.provinceNumber,_that.provinceName,_that.createdBy,_that.modifiedBy,_that.province);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? key,  String? createDate,  String? modifyDate,  bool? trash,  int? provinceIdForeignKey,  int? cityIdKey,  String? name,  double? productPrice,  bool? provinceCenter,  int? cityNumber,  String? cityName,  int? provinceNumber,  String? provinceName,  dynamic createdBy,  dynamic modifiedBy,  int? province)  $default,) {final _that = this;
switch (_that) {
case _City():
return $default(_that.id,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.provinceIdForeignKey,_that.cityIdKey,_that.name,_that.productPrice,_that.provinceCenter,_that.cityNumber,_that.cityName,_that.provinceNumber,_that.provinceName,_that.createdBy,_that.modifiedBy,_that.province);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? key,  String? createDate,  String? modifyDate,  bool? trash,  int? provinceIdForeignKey,  int? cityIdKey,  String? name,  double? productPrice,  bool? provinceCenter,  int? cityNumber,  String? cityName,  int? provinceNumber,  String? provinceName,  dynamic createdBy,  dynamic modifiedBy,  int? province)?  $default,) {final _that = this;
switch (_that) {
case _City() when $default != null:
return $default(_that.id,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.provinceIdForeignKey,_that.cityIdKey,_that.name,_that.productPrice,_that.provinceCenter,_that.cityNumber,_that.cityName,_that.provinceNumber,_that.provinceName,_that.createdBy,_that.modifiedBy,_that.province);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _City implements City {
  const _City({this.id, this.key, this.createDate, this.modifyDate, this.trash, this.provinceIdForeignKey, this.cityIdKey, this.name, this.productPrice, this.provinceCenter, this.cityNumber, this.cityName, this.provinceNumber, this.provinceName, this.createdBy, this.modifiedBy, this.province});
  factory _City.fromJson(Map<String, dynamic> json) => _$CityFromJson(json);

@override final  int? id;
@override final  String? key;
@override final  String? createDate;
@override final  String? modifyDate;
@override final  bool? trash;
@override final  int? provinceIdForeignKey;
@override final  int? cityIdKey;
@override final  String? name;
@override final  double? productPrice;
@override final  bool? provinceCenter;
@override final  int? cityNumber;
@override final  String? cityName;
@override final  int? provinceNumber;
@override final  String? provinceName;
@override final  dynamic createdBy;
@override final  dynamic modifiedBy;
@override final  int? province;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _City&&(identical(other.id, id) || other.id == id)&&(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.provinceIdForeignKey, provinceIdForeignKey) || other.provinceIdForeignKey == provinceIdForeignKey)&&(identical(other.cityIdKey, cityIdKey) || other.cityIdKey == cityIdKey)&&(identical(other.name, name) || other.name == name)&&(identical(other.productPrice, productPrice) || other.productPrice == productPrice)&&(identical(other.provinceCenter, provinceCenter) || other.provinceCenter == provinceCenter)&&(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)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&(identical(other.province, province) || other.province == province));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,id,key,createDate,modifyDate,trash,provinceIdForeignKey,cityIdKey,name,productPrice,provinceCenter,cityNumber,cityName,provinceNumber,provinceName,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),province);

@override
String toString() {
  return 'City(id: $id, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, provinceIdForeignKey: $provinceIdForeignKey, cityIdKey: $cityIdKey, name: $name, productPrice: $productPrice, provinceCenter: $provinceCenter, cityNumber: $cityNumber, cityName: $cityName, provinceNumber: $provinceNumber, provinceName: $provinceName, createdBy: $createdBy, modifiedBy: $modifiedBy, province: $province)';
}


}

/// @nodoc
abstract mixin class _$CityCopyWith<$Res> implements $CityCopyWith<$Res> {
  factory _$CityCopyWith(_City value, $Res Function(_City) _then) = __$CityCopyWithImpl;
@override @useResult
$Res call({
 int? id, String? key, String? createDate, String? modifyDate, bool? trash, int? provinceIdForeignKey, int? cityIdKey, String? name, double? productPrice, bool? provinceCenter, int? cityNumber, String? cityName, int? provinceNumber, String? provinceName, dynamic createdBy, dynamic modifiedBy, int? province
});




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

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

/// Create a copy of City
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? provinceIdForeignKey = freezed,Object? cityIdKey = freezed,Object? name = freezed,Object? productPrice = freezed,Object? provinceCenter = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? province = freezed,}) {
  return _then(_City(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,provinceIdForeignKey: freezed == provinceIdForeignKey ? _self.provinceIdForeignKey : provinceIdForeignKey // ignore: cast_nullable_to_non_nullable
as int?,cityIdKey: freezed == cityIdKey ? _self.cityIdKey : cityIdKey // ignore: cast_nullable_to_non_nullable
as int?,name: freezed == name ? _self.name : name // ignore: cast_nullable_to_non_nullable
as String?,productPrice: freezed == productPrice ? _self.productPrice : productPrice // ignore: cast_nullable_to_non_nullable
as double?,provinceCenter: freezed == provinceCenter ? _self.provinceCenter : provinceCenter // ignore: cast_nullable_to_non_nullable
as bool?,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?,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,province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}


}


/// @nodoc
mixin _$ToSteward {

 int? get id; ToStewardUser? get user; Address? get address; Activity? get guildAreaActivity; Activity? get guildTypeActivity; List<dynamic>? get killHouse; List<dynamic>? get stewardKillHouse; List<dynamic>? get stewards; PosStatus? get getPosStatus; String? get key; String? get createDate; String? get modifyDate; bool? get trash; dynamic get userIdForeignKey; dynamic get addressIdForeignKey; dynamic get userBankIdForeignKey; dynamic get walletIdForeignKey; dynamic get provincialGovernmentIdKey; dynamic get identityDocuments; bool? get active; int? get cityNumber; String? get cityName; String? get guildsId; String? get licenseNumber; String? get guildsName; dynamic get phone; String? get typeActivity; String? get areaActivity; int? get provinceNumber; String? get provinceName; bool? get steward; bool? get hasPos; dynamic get centersAllocation; dynamic get killHouseCentersAllocation; dynamic get allocationLimit; bool? get limitationAllocation; dynamic get registerarRole; dynamic get registerarFullname; dynamic get registerarMobile; bool? get killHouseRegister; bool? get stewardRegister; bool? get guildsRoomRegister; bool? get posCompanyRegister; String? get provinceAcceptState; dynamic get provinceMessage; dynamic get condition; dynamic get descriptionCondition; bool? get stewardActive; dynamic get stewardAllocationLimit; bool? get stewardLimitationAllocation; bool? get license; dynamic get licenseForm; dynamic get licenseFile; dynamic get reviewerRole; dynamic get reviewerFullname; dynamic get reviewerMobile; dynamic get checkerMessage; bool? get finalAccept; bool? get temporaryRegistration; dynamic get createdBy; dynamic get modifiedBy; dynamic get userBankInfo; int? get wallet; List<dynamic>? get cars; List<dynamic>? get userLevel;
/// Create a copy of ToSteward
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$ToStewardCopyWith<ToSteward> get copyWith => _$ToStewardCopyWithImpl<ToSteward>(this as ToSteward, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is ToSteward&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.address, address) || other.address == address)&&(identical(other.guildAreaActivity, guildAreaActivity) || other.guildAreaActivity == guildAreaActivity)&&(identical(other.guildTypeActivity, guildTypeActivity) || other.guildTypeActivity == guildTypeActivity)&&const DeepCollectionEquality().equals(other.killHouse, killHouse)&&const DeepCollectionEquality().equals(other.stewardKillHouse, stewardKillHouse)&&const DeepCollectionEquality().equals(other.stewards, stewards)&&(identical(other.getPosStatus, getPosStatus) || other.getPosStatus == getPosStatus)&&(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)&&const DeepCollectionEquality().equals(other.userIdForeignKey, userIdForeignKey)&&const DeepCollectionEquality().equals(other.addressIdForeignKey, addressIdForeignKey)&&const DeepCollectionEquality().equals(other.userBankIdForeignKey, userBankIdForeignKey)&&const DeepCollectionEquality().equals(other.walletIdForeignKey, walletIdForeignKey)&&const DeepCollectionEquality().equals(other.provincialGovernmentIdKey, provincialGovernmentIdKey)&&const DeepCollectionEquality().equals(other.identityDocuments, identityDocuments)&&(identical(other.active, active) || other.active == active)&&(identical(other.cityNumber, cityNumber) || other.cityNumber == cityNumber)&&(identical(other.cityName, cityName) || other.cityName == cityName)&&(identical(other.guildsId, guildsId) || other.guildsId == guildsId)&&(identical(other.licenseNumber, licenseNumber) || other.licenseNumber == licenseNumber)&&(identical(other.guildsName, guildsName) || other.guildsName == guildsName)&&const DeepCollectionEquality().equals(other.phone, phone)&&(identical(other.typeActivity, typeActivity) || other.typeActivity == typeActivity)&&(identical(other.areaActivity, areaActivity) || other.areaActivity == areaActivity)&&(identical(other.provinceNumber, provinceNumber) || other.provinceNumber == provinceNumber)&&(identical(other.provinceName, provinceName) || other.provinceName == provinceName)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.hasPos, hasPos) || other.hasPos == hasPos)&&const DeepCollectionEquality().equals(other.centersAllocation, centersAllocation)&&const DeepCollectionEquality().equals(other.killHouseCentersAllocation, killHouseCentersAllocation)&&const DeepCollectionEquality().equals(other.allocationLimit, allocationLimit)&&(identical(other.limitationAllocation, limitationAllocation) || other.limitationAllocation == limitationAllocation)&&const DeepCollectionEquality().equals(other.registerarRole, registerarRole)&&const DeepCollectionEquality().equals(other.registerarFullname, registerarFullname)&&const DeepCollectionEquality().equals(other.registerarMobile, registerarMobile)&&(identical(other.killHouseRegister, killHouseRegister) || other.killHouseRegister == killHouseRegister)&&(identical(other.stewardRegister, stewardRegister) || other.stewardRegister == stewardRegister)&&(identical(other.guildsRoomRegister, guildsRoomRegister) || other.guildsRoomRegister == guildsRoomRegister)&&(identical(other.posCompanyRegister, posCompanyRegister) || other.posCompanyRegister == posCompanyRegister)&&(identical(other.provinceAcceptState, provinceAcceptState) || other.provinceAcceptState == provinceAcceptState)&&const DeepCollectionEquality().equals(other.provinceMessage, provinceMessage)&&const DeepCollectionEquality().equals(other.condition, condition)&&const DeepCollectionEquality().equals(other.descriptionCondition, descriptionCondition)&&(identical(other.stewardActive, stewardActive) || other.stewardActive == stewardActive)&&const DeepCollectionEquality().equals(other.stewardAllocationLimit, stewardAllocationLimit)&&(identical(other.stewardLimitationAllocation, stewardLimitationAllocation) || other.stewardLimitationAllocation == stewardLimitationAllocation)&&(identical(other.license, license) || other.license == license)&&const DeepCollectionEquality().equals(other.licenseForm, licenseForm)&&const DeepCollectionEquality().equals(other.licenseFile, licenseFile)&&const DeepCollectionEquality().equals(other.reviewerRole, reviewerRole)&&const DeepCollectionEquality().equals(other.reviewerFullname, reviewerFullname)&&const DeepCollectionEquality().equals(other.reviewerMobile, reviewerMobile)&&const DeepCollectionEquality().equals(other.checkerMessage, checkerMessage)&&(identical(other.finalAccept, finalAccept) || other.finalAccept == finalAccept)&&(identical(other.temporaryRegistration, temporaryRegistration) || other.temporaryRegistration == temporaryRegistration)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&const DeepCollectionEquality().equals(other.userBankInfo, userBankInfo)&&(identical(other.wallet, wallet) || other.wallet == wallet)&&const DeepCollectionEquality().equals(other.cars, cars)&&const DeepCollectionEquality().equals(other.userLevel, userLevel));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,user,address,guildAreaActivity,guildTypeActivity,const DeepCollectionEquality().hash(killHouse),const DeepCollectionEquality().hash(stewardKillHouse),const DeepCollectionEquality().hash(stewards),getPosStatus,key,createDate,modifyDate,trash,const DeepCollectionEquality().hash(userIdForeignKey),const DeepCollectionEquality().hash(addressIdForeignKey),const DeepCollectionEquality().hash(userBankIdForeignKey),const DeepCollectionEquality().hash(walletIdForeignKey),const DeepCollectionEquality().hash(provincialGovernmentIdKey),const DeepCollectionEquality().hash(identityDocuments),active,cityNumber,cityName,guildsId,licenseNumber,guildsName,const DeepCollectionEquality().hash(phone),typeActivity,areaActivity,provinceNumber,provinceName,steward,hasPos,const DeepCollectionEquality().hash(centersAllocation),const DeepCollectionEquality().hash(killHouseCentersAllocation),const DeepCollectionEquality().hash(allocationLimit),limitationAllocation,const DeepCollectionEquality().hash(registerarRole),const DeepCollectionEquality().hash(registerarFullname),const DeepCollectionEquality().hash(registerarMobile),killHouseRegister,stewardRegister,guildsRoomRegister,posCompanyRegister,provinceAcceptState,const DeepCollectionEquality().hash(provinceMessage),const DeepCollectionEquality().hash(condition),const DeepCollectionEquality().hash(descriptionCondition),stewardActive,const DeepCollectionEquality().hash(stewardAllocationLimit),stewardLimitationAllocation,license,const DeepCollectionEquality().hash(licenseForm),const DeepCollectionEquality().hash(licenseFile),const DeepCollectionEquality().hash(reviewerRole),const DeepCollectionEquality().hash(reviewerFullname),const DeepCollectionEquality().hash(reviewerMobile),const DeepCollectionEquality().hash(checkerMessage),finalAccept,temporaryRegistration,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),const DeepCollectionEquality().hash(userBankInfo),wallet,const DeepCollectionEquality().hash(cars),const DeepCollectionEquality().hash(userLevel)]);

@override
String toString() {
  return 'ToSteward(id: $id, user: $user, address: $address, guildAreaActivity: $guildAreaActivity, guildTypeActivity: $guildTypeActivity, killHouse: $killHouse, stewardKillHouse: $stewardKillHouse, stewards: $stewards, getPosStatus: $getPosStatus, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, userIdForeignKey: $userIdForeignKey, addressIdForeignKey: $addressIdForeignKey, userBankIdForeignKey: $userBankIdForeignKey, walletIdForeignKey: $walletIdForeignKey, provincialGovernmentIdKey: $provincialGovernmentIdKey, identityDocuments: $identityDocuments, active: $active, cityNumber: $cityNumber, cityName: $cityName, guildsId: $guildsId, licenseNumber: $licenseNumber, guildsName: $guildsName, phone: $phone, typeActivity: $typeActivity, areaActivity: $areaActivity, provinceNumber: $provinceNumber, provinceName: $provinceName, steward: $steward, hasPos: $hasPos, centersAllocation: $centersAllocation, killHouseCentersAllocation: $killHouseCentersAllocation, allocationLimit: $allocationLimit, limitationAllocation: $limitationAllocation, registerarRole: $registerarRole, registerarFullname: $registerarFullname, registerarMobile: $registerarMobile, killHouseRegister: $killHouseRegister, stewardRegister: $stewardRegister, guildsRoomRegister: $guildsRoomRegister, posCompanyRegister: $posCompanyRegister, provinceAcceptState: $provinceAcceptState, provinceMessage: $provinceMessage, condition: $condition, descriptionCondition: $descriptionCondition, stewardActive: $stewardActive, stewardAllocationLimit: $stewardAllocationLimit, stewardLimitationAllocation: $stewardLimitationAllocation, license: $license, licenseForm: $licenseForm, licenseFile: $licenseFile, reviewerRole: $reviewerRole, reviewerFullname: $reviewerFullname, reviewerMobile: $reviewerMobile, checkerMessage: $checkerMessage, finalAccept: $finalAccept, temporaryRegistration: $temporaryRegistration, createdBy: $createdBy, modifiedBy: $modifiedBy, userBankInfo: $userBankInfo, wallet: $wallet, cars: $cars, userLevel: $userLevel)';
}


}

/// @nodoc
abstract mixin class $ToStewardCopyWith<$Res>  {
  factory $ToStewardCopyWith(ToSteward value, $Res Function(ToSteward) _then) = _$ToStewardCopyWithImpl;
@useResult
$Res call({
 int? id, ToStewardUser? user, Address? address, Activity? guildAreaActivity, Activity? guildTypeActivity, List<dynamic>? killHouse, List<dynamic>? stewardKillHouse, List<dynamic>? stewards, PosStatus? getPosStatus, String? key, String? createDate, String? modifyDate, bool? trash, dynamic userIdForeignKey, dynamic addressIdForeignKey, dynamic userBankIdForeignKey, dynamic walletIdForeignKey, dynamic provincialGovernmentIdKey, dynamic identityDocuments, bool? active, int? cityNumber, String? cityName, String? guildsId, String? licenseNumber, String? guildsName, dynamic phone, String? typeActivity, String? areaActivity, int? provinceNumber, String? provinceName, bool? steward, bool? hasPos, dynamic centersAllocation, dynamic killHouseCentersAllocation, dynamic allocationLimit, bool? limitationAllocation, dynamic registerarRole, dynamic registerarFullname, dynamic registerarMobile, bool? killHouseRegister, bool? stewardRegister, bool? guildsRoomRegister, bool? posCompanyRegister, String? provinceAcceptState, dynamic provinceMessage, dynamic condition, dynamic descriptionCondition, bool? stewardActive, dynamic stewardAllocationLimit, bool? stewardLimitationAllocation, bool? license, dynamic licenseForm, dynamic licenseFile, dynamic reviewerRole, dynamic reviewerFullname, dynamic reviewerMobile, dynamic checkerMessage, bool? finalAccept, bool? temporaryRegistration, dynamic createdBy, dynamic modifiedBy, dynamic userBankInfo, int? wallet, List<dynamic>? cars, List<dynamic>? userLevel
});


$ToStewardUserCopyWith<$Res>? get user;$AddressCopyWith<$Res>? get address;$ActivityCopyWith<$Res>? get guildAreaActivity;$ActivityCopyWith<$Res>? get guildTypeActivity;$PosStatusCopyWith<$Res>? get getPosStatus;

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

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

/// Create a copy of ToSteward
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? id = freezed,Object? user = freezed,Object? address = freezed,Object? guildAreaActivity = freezed,Object? guildTypeActivity = freezed,Object? killHouse = freezed,Object? stewardKillHouse = freezed,Object? stewards = freezed,Object? getPosStatus = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? userIdForeignKey = freezed,Object? addressIdForeignKey = freezed,Object? userBankIdForeignKey = freezed,Object? walletIdForeignKey = freezed,Object? provincialGovernmentIdKey = freezed,Object? identityDocuments = freezed,Object? active = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? guildsId = freezed,Object? licenseNumber = freezed,Object? guildsName = freezed,Object? phone = freezed,Object? typeActivity = freezed,Object? areaActivity = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? steward = freezed,Object? hasPos = freezed,Object? centersAllocation = freezed,Object? killHouseCentersAllocation = freezed,Object? allocationLimit = freezed,Object? limitationAllocation = freezed,Object? registerarRole = freezed,Object? registerarFullname = freezed,Object? registerarMobile = freezed,Object? killHouseRegister = freezed,Object? stewardRegister = freezed,Object? guildsRoomRegister = freezed,Object? posCompanyRegister = freezed,Object? provinceAcceptState = freezed,Object? provinceMessage = freezed,Object? condition = freezed,Object? descriptionCondition = freezed,Object? stewardActive = freezed,Object? stewardAllocationLimit = freezed,Object? stewardLimitationAllocation = freezed,Object? license = freezed,Object? licenseForm = freezed,Object? licenseFile = freezed,Object? reviewerRole = freezed,Object? reviewerFullname = freezed,Object? reviewerMobile = freezed,Object? checkerMessage = freezed,Object? finalAccept = freezed,Object? temporaryRegistration = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? userBankInfo = freezed,Object? wallet = freezed,Object? cars = freezed,Object? userLevel = freezed,}) {
  return _then(_self.copyWith(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
as ToStewardUser?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as Address?,guildAreaActivity: freezed == guildAreaActivity ? _self.guildAreaActivity : guildAreaActivity // ignore: cast_nullable_to_non_nullable
as Activity?,guildTypeActivity: freezed == guildTypeActivity ? _self.guildTypeActivity : guildTypeActivity // ignore: cast_nullable_to_non_nullable
as Activity?,killHouse: freezed == killHouse ? _self.killHouse : killHouse // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,stewardKillHouse: freezed == stewardKillHouse ? _self.stewardKillHouse : stewardKillHouse // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,stewards: freezed == stewards ? _self.stewards : stewards // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,getPosStatus: freezed == getPosStatus ? _self.getPosStatus : getPosStatus // ignore: cast_nullable_to_non_nullable
as PosStatus?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,userIdForeignKey: freezed == userIdForeignKey ? _self.userIdForeignKey : userIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,addressIdForeignKey: freezed == addressIdForeignKey ? _self.addressIdForeignKey : addressIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,userBankIdForeignKey: freezed == userBankIdForeignKey ? _self.userBankIdForeignKey : userBankIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,walletIdForeignKey: freezed == walletIdForeignKey ? _self.walletIdForeignKey : walletIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,provincialGovernmentIdKey: freezed == provincialGovernmentIdKey ? _self.provincialGovernmentIdKey : provincialGovernmentIdKey // ignore: cast_nullable_to_non_nullable
as dynamic,identityDocuments: freezed == identityDocuments ? _self.identityDocuments : identityDocuments // ignore: cast_nullable_to_non_nullable
as dynamic,active: freezed == active ? _self.active : active // ignore: cast_nullable_to_non_nullable
as bool?,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?,guildsId: freezed == guildsId ? _self.guildsId : guildsId // ignore: cast_nullable_to_non_nullable
as String?,licenseNumber: freezed == licenseNumber ? _self.licenseNumber : licenseNumber // ignore: cast_nullable_to_non_nullable
as String?,guildsName: freezed == guildsName ? _self.guildsName : guildsName // ignore: cast_nullable_to_non_nullable
as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
as dynamic,typeActivity: freezed == typeActivity ? _self.typeActivity : typeActivity // ignore: cast_nullable_to_non_nullable
as String?,areaActivity: freezed == areaActivity ? _self.areaActivity : areaActivity // 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?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as bool?,hasPos: freezed == hasPos ? _self.hasPos : hasPos // ignore: cast_nullable_to_non_nullable
as bool?,centersAllocation: freezed == centersAllocation ? _self.centersAllocation : centersAllocation // ignore: cast_nullable_to_non_nullable
as dynamic,killHouseCentersAllocation: freezed == killHouseCentersAllocation ? _self.killHouseCentersAllocation : killHouseCentersAllocation // ignore: cast_nullable_to_non_nullable
as dynamic,allocationLimit: freezed == allocationLimit ? _self.allocationLimit : allocationLimit // ignore: cast_nullable_to_non_nullable
as dynamic,limitationAllocation: freezed == limitationAllocation ? _self.limitationAllocation : limitationAllocation // ignore: cast_nullable_to_non_nullable
as bool?,registerarRole: freezed == registerarRole ? _self.registerarRole : registerarRole // ignore: cast_nullable_to_non_nullable
as dynamic,registerarFullname: freezed == registerarFullname ? _self.registerarFullname : registerarFullname // ignore: cast_nullable_to_non_nullable
as dynamic,registerarMobile: freezed == registerarMobile ? _self.registerarMobile : registerarMobile // ignore: cast_nullable_to_non_nullable
as dynamic,killHouseRegister: freezed == killHouseRegister ? _self.killHouseRegister : killHouseRegister // ignore: cast_nullable_to_non_nullable
as bool?,stewardRegister: freezed == stewardRegister ? _self.stewardRegister : stewardRegister // ignore: cast_nullable_to_non_nullable
as bool?,guildsRoomRegister: freezed == guildsRoomRegister ? _self.guildsRoomRegister : guildsRoomRegister // ignore: cast_nullable_to_non_nullable
as bool?,posCompanyRegister: freezed == posCompanyRegister ? _self.posCompanyRegister : posCompanyRegister // ignore: cast_nullable_to_non_nullable
as bool?,provinceAcceptState: freezed == provinceAcceptState ? _self.provinceAcceptState : provinceAcceptState // ignore: cast_nullable_to_non_nullable
as String?,provinceMessage: freezed == provinceMessage ? _self.provinceMessage : provinceMessage // ignore: cast_nullable_to_non_nullable
as dynamic,condition: freezed == condition ? _self.condition : condition // ignore: cast_nullable_to_non_nullable
as dynamic,descriptionCondition: freezed == descriptionCondition ? _self.descriptionCondition : descriptionCondition // ignore: cast_nullable_to_non_nullable
as dynamic,stewardActive: freezed == stewardActive ? _self.stewardActive : stewardActive // ignore: cast_nullable_to_non_nullable
as bool?,stewardAllocationLimit: freezed == stewardAllocationLimit ? _self.stewardAllocationLimit : stewardAllocationLimit // ignore: cast_nullable_to_non_nullable
as dynamic,stewardLimitationAllocation: freezed == stewardLimitationAllocation ? _self.stewardLimitationAllocation : stewardLimitationAllocation // ignore: cast_nullable_to_non_nullable
as bool?,license: freezed == license ? _self.license : license // ignore: cast_nullable_to_non_nullable
as bool?,licenseForm: freezed == licenseForm ? _self.licenseForm : licenseForm // ignore: cast_nullable_to_non_nullable
as dynamic,licenseFile: freezed == licenseFile ? _self.licenseFile : licenseFile // ignore: cast_nullable_to_non_nullable
as dynamic,reviewerRole: freezed == reviewerRole ? _self.reviewerRole : reviewerRole // ignore: cast_nullable_to_non_nullable
as dynamic,reviewerFullname: freezed == reviewerFullname ? _self.reviewerFullname : reviewerFullname // ignore: cast_nullable_to_non_nullable
as dynamic,reviewerMobile: freezed == reviewerMobile ? _self.reviewerMobile : reviewerMobile // ignore: cast_nullable_to_non_nullable
as dynamic,checkerMessage: freezed == checkerMessage ? _self.checkerMessage : checkerMessage // ignore: cast_nullable_to_non_nullable
as dynamic,finalAccept: freezed == finalAccept ? _self.finalAccept : finalAccept // ignore: cast_nullable_to_non_nullable
as bool?,temporaryRegistration: freezed == temporaryRegistration ? _self.temporaryRegistration : temporaryRegistration // 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,userBankInfo: freezed == userBankInfo ? _self.userBankInfo : userBankInfo // ignore: cast_nullable_to_non_nullable
as dynamic,wallet: freezed == wallet ? _self.wallet : wallet // ignore: cast_nullable_to_non_nullable
as int?,cars: freezed == cars ? _self.cars : cars // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,userLevel: freezed == userLevel ? _self.userLevel : userLevel // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,
  ));
}
/// Create a copy of ToSteward
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ToStewardUserCopyWith<$Res>? get user {
    if (_self.user == null) {
    return null;
  }

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

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

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

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

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


/// Adds pattern-matching-related methods to [ToSteward].
extension ToStewardPatterns on ToSteward {
/// 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( _ToSteward value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _ToSteward() 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( _ToSteward value)  $default,){
final _that = this;
switch (_that) {
case _ToSteward():
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( _ToSteward value)?  $default,){
final _that = this;
switch (_that) {
case _ToSteward() 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,  ToStewardUser? user,  Address? address,  Activity? guildAreaActivity,  Activity? guildTypeActivity,  List<dynamic>? killHouse,  List<dynamic>? stewardKillHouse,  List<dynamic>? stewards,  PosStatus? getPosStatus,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  dynamic userIdForeignKey,  dynamic addressIdForeignKey,  dynamic userBankIdForeignKey,  dynamic walletIdForeignKey,  dynamic provincialGovernmentIdKey,  dynamic identityDocuments,  bool? active,  int? cityNumber,  String? cityName,  String? guildsId,  String? licenseNumber,  String? guildsName,  dynamic phone,  String? typeActivity,  String? areaActivity,  int? provinceNumber,  String? provinceName,  bool? steward,  bool? hasPos,  dynamic centersAllocation,  dynamic killHouseCentersAllocation,  dynamic allocationLimit,  bool? limitationAllocation,  dynamic registerarRole,  dynamic registerarFullname,  dynamic registerarMobile,  bool? killHouseRegister,  bool? stewardRegister,  bool? guildsRoomRegister,  bool? posCompanyRegister,  String? provinceAcceptState,  dynamic provinceMessage,  dynamic condition,  dynamic descriptionCondition,  bool? stewardActive,  dynamic stewardAllocationLimit,  bool? stewardLimitationAllocation,  bool? license,  dynamic licenseForm,  dynamic licenseFile,  dynamic reviewerRole,  dynamic reviewerFullname,  dynamic reviewerMobile,  dynamic checkerMessage,  bool? finalAccept,  bool? temporaryRegistration,  dynamic createdBy,  dynamic modifiedBy,  dynamic userBankInfo,  int? wallet,  List<dynamic>? cars,  List<dynamic>? userLevel)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _ToSteward() when $default != null:
return $default(_that.id,_that.user,_that.address,_that.guildAreaActivity,_that.guildTypeActivity,_that.killHouse,_that.stewardKillHouse,_that.stewards,_that.getPosStatus,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.userIdForeignKey,_that.addressIdForeignKey,_that.userBankIdForeignKey,_that.walletIdForeignKey,_that.provincialGovernmentIdKey,_that.identityDocuments,_that.active,_that.cityNumber,_that.cityName,_that.guildsId,_that.licenseNumber,_that.guildsName,_that.phone,_that.typeActivity,_that.areaActivity,_that.provinceNumber,_that.provinceName,_that.steward,_that.hasPos,_that.centersAllocation,_that.killHouseCentersAllocation,_that.allocationLimit,_that.limitationAllocation,_that.registerarRole,_that.registerarFullname,_that.registerarMobile,_that.killHouseRegister,_that.stewardRegister,_that.guildsRoomRegister,_that.posCompanyRegister,_that.provinceAcceptState,_that.provinceMessage,_that.condition,_that.descriptionCondition,_that.stewardActive,_that.stewardAllocationLimit,_that.stewardLimitationAllocation,_that.license,_that.licenseForm,_that.licenseFile,_that.reviewerRole,_that.reviewerFullname,_that.reviewerMobile,_that.checkerMessage,_that.finalAccept,_that.temporaryRegistration,_that.createdBy,_that.modifiedBy,_that.userBankInfo,_that.wallet,_that.cars,_that.userLevel);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,  ToStewardUser? user,  Address? address,  Activity? guildAreaActivity,  Activity? guildTypeActivity,  List<dynamic>? killHouse,  List<dynamic>? stewardKillHouse,  List<dynamic>? stewards,  PosStatus? getPosStatus,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  dynamic userIdForeignKey,  dynamic addressIdForeignKey,  dynamic userBankIdForeignKey,  dynamic walletIdForeignKey,  dynamic provincialGovernmentIdKey,  dynamic identityDocuments,  bool? active,  int? cityNumber,  String? cityName,  String? guildsId,  String? licenseNumber,  String? guildsName,  dynamic phone,  String? typeActivity,  String? areaActivity,  int? provinceNumber,  String? provinceName,  bool? steward,  bool? hasPos,  dynamic centersAllocation,  dynamic killHouseCentersAllocation,  dynamic allocationLimit,  bool? limitationAllocation,  dynamic registerarRole,  dynamic registerarFullname,  dynamic registerarMobile,  bool? killHouseRegister,  bool? stewardRegister,  bool? guildsRoomRegister,  bool? posCompanyRegister,  String? provinceAcceptState,  dynamic provinceMessage,  dynamic condition,  dynamic descriptionCondition,  bool? stewardActive,  dynamic stewardAllocationLimit,  bool? stewardLimitationAllocation,  bool? license,  dynamic licenseForm,  dynamic licenseFile,  dynamic reviewerRole,  dynamic reviewerFullname,  dynamic reviewerMobile,  dynamic checkerMessage,  bool? finalAccept,  bool? temporaryRegistration,  dynamic createdBy,  dynamic modifiedBy,  dynamic userBankInfo,  int? wallet,  List<dynamic>? cars,  List<dynamic>? userLevel)  $default,) {final _that = this;
switch (_that) {
case _ToSteward():
return $default(_that.id,_that.user,_that.address,_that.guildAreaActivity,_that.guildTypeActivity,_that.killHouse,_that.stewardKillHouse,_that.stewards,_that.getPosStatus,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.userIdForeignKey,_that.addressIdForeignKey,_that.userBankIdForeignKey,_that.walletIdForeignKey,_that.provincialGovernmentIdKey,_that.identityDocuments,_that.active,_that.cityNumber,_that.cityName,_that.guildsId,_that.licenseNumber,_that.guildsName,_that.phone,_that.typeActivity,_that.areaActivity,_that.provinceNumber,_that.provinceName,_that.steward,_that.hasPos,_that.centersAllocation,_that.killHouseCentersAllocation,_that.allocationLimit,_that.limitationAllocation,_that.registerarRole,_that.registerarFullname,_that.registerarMobile,_that.killHouseRegister,_that.stewardRegister,_that.guildsRoomRegister,_that.posCompanyRegister,_that.provinceAcceptState,_that.provinceMessage,_that.condition,_that.descriptionCondition,_that.stewardActive,_that.stewardAllocationLimit,_that.stewardLimitationAllocation,_that.license,_that.licenseForm,_that.licenseFile,_that.reviewerRole,_that.reviewerFullname,_that.reviewerMobile,_that.checkerMessage,_that.finalAccept,_that.temporaryRegistration,_that.createdBy,_that.modifiedBy,_that.userBankInfo,_that.wallet,_that.cars,_that.userLevel);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,  ToStewardUser? user,  Address? address,  Activity? guildAreaActivity,  Activity? guildTypeActivity,  List<dynamic>? killHouse,  List<dynamic>? stewardKillHouse,  List<dynamic>? stewards,  PosStatus? getPosStatus,  String? key,  String? createDate,  String? modifyDate,  bool? trash,  dynamic userIdForeignKey,  dynamic addressIdForeignKey,  dynamic userBankIdForeignKey,  dynamic walletIdForeignKey,  dynamic provincialGovernmentIdKey,  dynamic identityDocuments,  bool? active,  int? cityNumber,  String? cityName,  String? guildsId,  String? licenseNumber,  String? guildsName,  dynamic phone,  String? typeActivity,  String? areaActivity,  int? provinceNumber,  String? provinceName,  bool? steward,  bool? hasPos,  dynamic centersAllocation,  dynamic killHouseCentersAllocation,  dynamic allocationLimit,  bool? limitationAllocation,  dynamic registerarRole,  dynamic registerarFullname,  dynamic registerarMobile,  bool? killHouseRegister,  bool? stewardRegister,  bool? guildsRoomRegister,  bool? posCompanyRegister,  String? provinceAcceptState,  dynamic provinceMessage,  dynamic condition,  dynamic descriptionCondition,  bool? stewardActive,  dynamic stewardAllocationLimit,  bool? stewardLimitationAllocation,  bool? license,  dynamic licenseForm,  dynamic licenseFile,  dynamic reviewerRole,  dynamic reviewerFullname,  dynamic reviewerMobile,  dynamic checkerMessage,  bool? finalAccept,  bool? temporaryRegistration,  dynamic createdBy,  dynamic modifiedBy,  dynamic userBankInfo,  int? wallet,  List<dynamic>? cars,  List<dynamic>? userLevel)?  $default,) {final _that = this;
switch (_that) {
case _ToSteward() when $default != null:
return $default(_that.id,_that.user,_that.address,_that.guildAreaActivity,_that.guildTypeActivity,_that.killHouse,_that.stewardKillHouse,_that.stewards,_that.getPosStatus,_that.key,_that.createDate,_that.modifyDate,_that.trash,_that.userIdForeignKey,_that.addressIdForeignKey,_that.userBankIdForeignKey,_that.walletIdForeignKey,_that.provincialGovernmentIdKey,_that.identityDocuments,_that.active,_that.cityNumber,_that.cityName,_that.guildsId,_that.licenseNumber,_that.guildsName,_that.phone,_that.typeActivity,_that.areaActivity,_that.provinceNumber,_that.provinceName,_that.steward,_that.hasPos,_that.centersAllocation,_that.killHouseCentersAllocation,_that.allocationLimit,_that.limitationAllocation,_that.registerarRole,_that.registerarFullname,_that.registerarMobile,_that.killHouseRegister,_that.stewardRegister,_that.guildsRoomRegister,_that.posCompanyRegister,_that.provinceAcceptState,_that.provinceMessage,_that.condition,_that.descriptionCondition,_that.stewardActive,_that.stewardAllocationLimit,_that.stewardLimitationAllocation,_that.license,_that.licenseForm,_that.licenseFile,_that.reviewerRole,_that.reviewerFullname,_that.reviewerMobile,_that.checkerMessage,_that.finalAccept,_that.temporaryRegistration,_that.createdBy,_that.modifiedBy,_that.userBankInfo,_that.wallet,_that.cars,_that.userLevel);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _ToSteward implements ToSteward {
  const _ToSteward({this.id, this.user, this.address, this.guildAreaActivity, this.guildTypeActivity, final  List<dynamic>? killHouse, final  List<dynamic>? stewardKillHouse, final  List<dynamic>? stewards, this.getPosStatus, this.key, this.createDate, this.modifyDate, this.trash, this.userIdForeignKey, this.addressIdForeignKey, this.userBankIdForeignKey, this.walletIdForeignKey, this.provincialGovernmentIdKey, this.identityDocuments, this.active, this.cityNumber, this.cityName, this.guildsId, this.licenseNumber, this.guildsName, this.phone, this.typeActivity, this.areaActivity, this.provinceNumber, this.provinceName, this.steward, this.hasPos, this.centersAllocation, this.killHouseCentersAllocation, this.allocationLimit, this.limitationAllocation, this.registerarRole, this.registerarFullname, this.registerarMobile, this.killHouseRegister, this.stewardRegister, this.guildsRoomRegister, this.posCompanyRegister, this.provinceAcceptState, this.provinceMessage, this.condition, this.descriptionCondition, this.stewardActive, this.stewardAllocationLimit, this.stewardLimitationAllocation, this.license, this.licenseForm, this.licenseFile, this.reviewerRole, this.reviewerFullname, this.reviewerMobile, this.checkerMessage, this.finalAccept, this.temporaryRegistration, this.createdBy, this.modifiedBy, this.userBankInfo, this.wallet, final  List<dynamic>? cars, final  List<dynamic>? userLevel}): _killHouse = killHouse,_stewardKillHouse = stewardKillHouse,_stewards = stewards,_cars = cars,_userLevel = userLevel;
  factory _ToSteward.fromJson(Map<String, dynamic> json) => _$ToStewardFromJson(json);

@override final  int? id;
@override final  ToStewardUser? user;
@override final  Address? address;
@override final  Activity? guildAreaActivity;
@override final  Activity? guildTypeActivity;
 final  List<dynamic>? _killHouse;
@override List<dynamic>? get killHouse {
  final value = _killHouse;
  if (value == null) return null;
  if (_killHouse is EqualUnmodifiableListView) return _killHouse;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

 final  List<dynamic>? _stewardKillHouse;
@override List<dynamic>? get stewardKillHouse {
  final value = _stewardKillHouse;
  if (value == null) return null;
  if (_stewardKillHouse is EqualUnmodifiableListView) return _stewardKillHouse;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

 final  List<dynamic>? _stewards;
@override List<dynamic>? get stewards {
  final value = _stewards;
  if (value == null) return null;
  if (_stewards is EqualUnmodifiableListView) return _stewards;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

@override final  PosStatus? getPosStatus;
@override final  String? key;
@override final  String? createDate;
@override final  String? modifyDate;
@override final  bool? trash;
@override final  dynamic userIdForeignKey;
@override final  dynamic addressIdForeignKey;
@override final  dynamic userBankIdForeignKey;
@override final  dynamic walletIdForeignKey;
@override final  dynamic provincialGovernmentIdKey;
@override final  dynamic identityDocuments;
@override final  bool? active;
@override final  int? cityNumber;
@override final  String? cityName;
@override final  String? guildsId;
@override final  String? licenseNumber;
@override final  String? guildsName;
@override final  dynamic phone;
@override final  String? typeActivity;
@override final  String? areaActivity;
@override final  int? provinceNumber;
@override final  String? provinceName;
@override final  bool? steward;
@override final  bool? hasPos;
@override final  dynamic centersAllocation;
@override final  dynamic killHouseCentersAllocation;
@override final  dynamic allocationLimit;
@override final  bool? limitationAllocation;
@override final  dynamic registerarRole;
@override final  dynamic registerarFullname;
@override final  dynamic registerarMobile;
@override final  bool? killHouseRegister;
@override final  bool? stewardRegister;
@override final  bool? guildsRoomRegister;
@override final  bool? posCompanyRegister;
@override final  String? provinceAcceptState;
@override final  dynamic provinceMessage;
@override final  dynamic condition;
@override final  dynamic descriptionCondition;
@override final  bool? stewardActive;
@override final  dynamic stewardAllocationLimit;
@override final  bool? stewardLimitationAllocation;
@override final  bool? license;
@override final  dynamic licenseForm;
@override final  dynamic licenseFile;
@override final  dynamic reviewerRole;
@override final  dynamic reviewerFullname;
@override final  dynamic reviewerMobile;
@override final  dynamic checkerMessage;
@override final  bool? finalAccept;
@override final  bool? temporaryRegistration;
@override final  dynamic createdBy;
@override final  dynamic modifiedBy;
@override final  dynamic userBankInfo;
@override final  int? wallet;
 final  List<dynamic>? _cars;
@override List<dynamic>? get cars {
  final value = _cars;
  if (value == null) return null;
  if (_cars is EqualUnmodifiableListView) return _cars;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

 final  List<dynamic>? _userLevel;
@override List<dynamic>? get userLevel {
  final value = _userLevel;
  if (value == null) return null;
  if (_userLevel is EqualUnmodifiableListView) return _userLevel;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}


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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _ToSteward&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.address, address) || other.address == address)&&(identical(other.guildAreaActivity, guildAreaActivity) || other.guildAreaActivity == guildAreaActivity)&&(identical(other.guildTypeActivity, guildTypeActivity) || other.guildTypeActivity == guildTypeActivity)&&const DeepCollectionEquality().equals(other._killHouse, _killHouse)&&const DeepCollectionEquality().equals(other._stewardKillHouse, _stewardKillHouse)&&const DeepCollectionEquality().equals(other._stewards, _stewards)&&(identical(other.getPosStatus, getPosStatus) || other.getPosStatus == getPosStatus)&&(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)&&const DeepCollectionEquality().equals(other.userIdForeignKey, userIdForeignKey)&&const DeepCollectionEquality().equals(other.addressIdForeignKey, addressIdForeignKey)&&const DeepCollectionEquality().equals(other.userBankIdForeignKey, userBankIdForeignKey)&&const DeepCollectionEquality().equals(other.walletIdForeignKey, walletIdForeignKey)&&const DeepCollectionEquality().equals(other.provincialGovernmentIdKey, provincialGovernmentIdKey)&&const DeepCollectionEquality().equals(other.identityDocuments, identityDocuments)&&(identical(other.active, active) || other.active == active)&&(identical(other.cityNumber, cityNumber) || other.cityNumber == cityNumber)&&(identical(other.cityName, cityName) || other.cityName == cityName)&&(identical(other.guildsId, guildsId) || other.guildsId == guildsId)&&(identical(other.licenseNumber, licenseNumber) || other.licenseNumber == licenseNumber)&&(identical(other.guildsName, guildsName) || other.guildsName == guildsName)&&const DeepCollectionEquality().equals(other.phone, phone)&&(identical(other.typeActivity, typeActivity) || other.typeActivity == typeActivity)&&(identical(other.areaActivity, areaActivity) || other.areaActivity == areaActivity)&&(identical(other.provinceNumber, provinceNumber) || other.provinceNumber == provinceNumber)&&(identical(other.provinceName, provinceName) || other.provinceName == provinceName)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.hasPos, hasPos) || other.hasPos == hasPos)&&const DeepCollectionEquality().equals(other.centersAllocation, centersAllocation)&&const DeepCollectionEquality().equals(other.killHouseCentersAllocation, killHouseCentersAllocation)&&const DeepCollectionEquality().equals(other.allocationLimit, allocationLimit)&&(identical(other.limitationAllocation, limitationAllocation) || other.limitationAllocation == limitationAllocation)&&const DeepCollectionEquality().equals(other.registerarRole, registerarRole)&&const DeepCollectionEquality().equals(other.registerarFullname, registerarFullname)&&const DeepCollectionEquality().equals(other.registerarMobile, registerarMobile)&&(identical(other.killHouseRegister, killHouseRegister) || other.killHouseRegister == killHouseRegister)&&(identical(other.stewardRegister, stewardRegister) || other.stewardRegister == stewardRegister)&&(identical(other.guildsRoomRegister, guildsRoomRegister) || other.guildsRoomRegister == guildsRoomRegister)&&(identical(other.posCompanyRegister, posCompanyRegister) || other.posCompanyRegister == posCompanyRegister)&&(identical(other.provinceAcceptState, provinceAcceptState) || other.provinceAcceptState == provinceAcceptState)&&const DeepCollectionEquality().equals(other.provinceMessage, provinceMessage)&&const DeepCollectionEquality().equals(other.condition, condition)&&const DeepCollectionEquality().equals(other.descriptionCondition, descriptionCondition)&&(identical(other.stewardActive, stewardActive) || other.stewardActive == stewardActive)&&const DeepCollectionEquality().equals(other.stewardAllocationLimit, stewardAllocationLimit)&&(identical(other.stewardLimitationAllocation, stewardLimitationAllocation) || other.stewardLimitationAllocation == stewardLimitationAllocation)&&(identical(other.license, license) || other.license == license)&&const DeepCollectionEquality().equals(other.licenseForm, licenseForm)&&const DeepCollectionEquality().equals(other.licenseFile, licenseFile)&&const DeepCollectionEquality().equals(other.reviewerRole, reviewerRole)&&const DeepCollectionEquality().equals(other.reviewerFullname, reviewerFullname)&&const DeepCollectionEquality().equals(other.reviewerMobile, reviewerMobile)&&const DeepCollectionEquality().equals(other.checkerMessage, checkerMessage)&&(identical(other.finalAccept, finalAccept) || other.finalAccept == finalAccept)&&(identical(other.temporaryRegistration, temporaryRegistration) || other.temporaryRegistration == temporaryRegistration)&&const DeepCollectionEquality().equals(other.createdBy, createdBy)&&const DeepCollectionEquality().equals(other.modifiedBy, modifiedBy)&&const DeepCollectionEquality().equals(other.userBankInfo, userBankInfo)&&(identical(other.wallet, wallet) || other.wallet == wallet)&&const DeepCollectionEquality().equals(other._cars, _cars)&&const DeepCollectionEquality().equals(other._userLevel, _userLevel));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,user,address,guildAreaActivity,guildTypeActivity,const DeepCollectionEquality().hash(_killHouse),const DeepCollectionEquality().hash(_stewardKillHouse),const DeepCollectionEquality().hash(_stewards),getPosStatus,key,createDate,modifyDate,trash,const DeepCollectionEquality().hash(userIdForeignKey),const DeepCollectionEquality().hash(addressIdForeignKey),const DeepCollectionEquality().hash(userBankIdForeignKey),const DeepCollectionEquality().hash(walletIdForeignKey),const DeepCollectionEquality().hash(provincialGovernmentIdKey),const DeepCollectionEquality().hash(identityDocuments),active,cityNumber,cityName,guildsId,licenseNumber,guildsName,const DeepCollectionEquality().hash(phone),typeActivity,areaActivity,provinceNumber,provinceName,steward,hasPos,const DeepCollectionEquality().hash(centersAllocation),const DeepCollectionEquality().hash(killHouseCentersAllocation),const DeepCollectionEquality().hash(allocationLimit),limitationAllocation,const DeepCollectionEquality().hash(registerarRole),const DeepCollectionEquality().hash(registerarFullname),const DeepCollectionEquality().hash(registerarMobile),killHouseRegister,stewardRegister,guildsRoomRegister,posCompanyRegister,provinceAcceptState,const DeepCollectionEquality().hash(provinceMessage),const DeepCollectionEquality().hash(condition),const DeepCollectionEquality().hash(descriptionCondition),stewardActive,const DeepCollectionEquality().hash(stewardAllocationLimit),stewardLimitationAllocation,license,const DeepCollectionEquality().hash(licenseForm),const DeepCollectionEquality().hash(licenseFile),const DeepCollectionEquality().hash(reviewerRole),const DeepCollectionEquality().hash(reviewerFullname),const DeepCollectionEquality().hash(reviewerMobile),const DeepCollectionEquality().hash(checkerMessage),finalAccept,temporaryRegistration,const DeepCollectionEquality().hash(createdBy),const DeepCollectionEquality().hash(modifiedBy),const DeepCollectionEquality().hash(userBankInfo),wallet,const DeepCollectionEquality().hash(_cars),const DeepCollectionEquality().hash(_userLevel)]);

@override
String toString() {
  return 'ToSteward(id: $id, user: $user, address: $address, guildAreaActivity: $guildAreaActivity, guildTypeActivity: $guildTypeActivity, killHouse: $killHouse, stewardKillHouse: $stewardKillHouse, stewards: $stewards, getPosStatus: $getPosStatus, key: $key, createDate: $createDate, modifyDate: $modifyDate, trash: $trash, userIdForeignKey: $userIdForeignKey, addressIdForeignKey: $addressIdForeignKey, userBankIdForeignKey: $userBankIdForeignKey, walletIdForeignKey: $walletIdForeignKey, provincialGovernmentIdKey: $provincialGovernmentIdKey, identityDocuments: $identityDocuments, active: $active, cityNumber: $cityNumber, cityName: $cityName, guildsId: $guildsId, licenseNumber: $licenseNumber, guildsName: $guildsName, phone: $phone, typeActivity: $typeActivity, areaActivity: $areaActivity, provinceNumber: $provinceNumber, provinceName: $provinceName, steward: $steward, hasPos: $hasPos, centersAllocation: $centersAllocation, killHouseCentersAllocation: $killHouseCentersAllocation, allocationLimit: $allocationLimit, limitationAllocation: $limitationAllocation, registerarRole: $registerarRole, registerarFullname: $registerarFullname, registerarMobile: $registerarMobile, killHouseRegister: $killHouseRegister, stewardRegister: $stewardRegister, guildsRoomRegister: $guildsRoomRegister, posCompanyRegister: $posCompanyRegister, provinceAcceptState: $provinceAcceptState, provinceMessage: $provinceMessage, condition: $condition, descriptionCondition: $descriptionCondition, stewardActive: $stewardActive, stewardAllocationLimit: $stewardAllocationLimit, stewardLimitationAllocation: $stewardLimitationAllocation, license: $license, licenseForm: $licenseForm, licenseFile: $licenseFile, reviewerRole: $reviewerRole, reviewerFullname: $reviewerFullname, reviewerMobile: $reviewerMobile, checkerMessage: $checkerMessage, finalAccept: $finalAccept, temporaryRegistration: $temporaryRegistration, createdBy: $createdBy, modifiedBy: $modifiedBy, userBankInfo: $userBankInfo, wallet: $wallet, cars: $cars, userLevel: $userLevel)';
}


}

/// @nodoc
abstract mixin class _$ToStewardCopyWith<$Res> implements $ToStewardCopyWith<$Res> {
  factory _$ToStewardCopyWith(_ToSteward value, $Res Function(_ToSteward) _then) = __$ToStewardCopyWithImpl;
@override @useResult
$Res call({
 int? id, ToStewardUser? user, Address? address, Activity? guildAreaActivity, Activity? guildTypeActivity, List<dynamic>? killHouse, List<dynamic>? stewardKillHouse, List<dynamic>? stewards, PosStatus? getPosStatus, String? key, String? createDate, String? modifyDate, bool? trash, dynamic userIdForeignKey, dynamic addressIdForeignKey, dynamic userBankIdForeignKey, dynamic walletIdForeignKey, dynamic provincialGovernmentIdKey, dynamic identityDocuments, bool? active, int? cityNumber, String? cityName, String? guildsId, String? licenseNumber, String? guildsName, dynamic phone, String? typeActivity, String? areaActivity, int? provinceNumber, String? provinceName, bool? steward, bool? hasPos, dynamic centersAllocation, dynamic killHouseCentersAllocation, dynamic allocationLimit, bool? limitationAllocation, dynamic registerarRole, dynamic registerarFullname, dynamic registerarMobile, bool? killHouseRegister, bool? stewardRegister, bool? guildsRoomRegister, bool? posCompanyRegister, String? provinceAcceptState, dynamic provinceMessage, dynamic condition, dynamic descriptionCondition, bool? stewardActive, dynamic stewardAllocationLimit, bool? stewardLimitationAllocation, bool? license, dynamic licenseForm, dynamic licenseFile, dynamic reviewerRole, dynamic reviewerFullname, dynamic reviewerMobile, dynamic checkerMessage, bool? finalAccept, bool? temporaryRegistration, dynamic createdBy, dynamic modifiedBy, dynamic userBankInfo, int? wallet, List<dynamic>? cars, List<dynamic>? userLevel
});


@override $ToStewardUserCopyWith<$Res>? get user;@override $AddressCopyWith<$Res>? get address;@override $ActivityCopyWith<$Res>? get guildAreaActivity;@override $ActivityCopyWith<$Res>? get guildTypeActivity;@override $PosStatusCopyWith<$Res>? get getPosStatus;

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

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

/// Create a copy of ToSteward
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? id = freezed,Object? user = freezed,Object? address = freezed,Object? guildAreaActivity = freezed,Object? guildTypeActivity = freezed,Object? killHouse = freezed,Object? stewardKillHouse = freezed,Object? stewards = freezed,Object? getPosStatus = freezed,Object? key = freezed,Object? createDate = freezed,Object? modifyDate = freezed,Object? trash = freezed,Object? userIdForeignKey = freezed,Object? addressIdForeignKey = freezed,Object? userBankIdForeignKey = freezed,Object? walletIdForeignKey = freezed,Object? provincialGovernmentIdKey = freezed,Object? identityDocuments = freezed,Object? active = freezed,Object? cityNumber = freezed,Object? cityName = freezed,Object? guildsId = freezed,Object? licenseNumber = freezed,Object? guildsName = freezed,Object? phone = freezed,Object? typeActivity = freezed,Object? areaActivity = freezed,Object? provinceNumber = freezed,Object? provinceName = freezed,Object? steward = freezed,Object? hasPos = freezed,Object? centersAllocation = freezed,Object? killHouseCentersAllocation = freezed,Object? allocationLimit = freezed,Object? limitationAllocation = freezed,Object? registerarRole = freezed,Object? registerarFullname = freezed,Object? registerarMobile = freezed,Object? killHouseRegister = freezed,Object? stewardRegister = freezed,Object? guildsRoomRegister = freezed,Object? posCompanyRegister = freezed,Object? provinceAcceptState = freezed,Object? provinceMessage = freezed,Object? condition = freezed,Object? descriptionCondition = freezed,Object? stewardActive = freezed,Object? stewardAllocationLimit = freezed,Object? stewardLimitationAllocation = freezed,Object? license = freezed,Object? licenseForm = freezed,Object? licenseFile = freezed,Object? reviewerRole = freezed,Object? reviewerFullname = freezed,Object? reviewerMobile = freezed,Object? checkerMessage = freezed,Object? finalAccept = freezed,Object? temporaryRegistration = freezed,Object? createdBy = freezed,Object? modifiedBy = freezed,Object? userBankInfo = freezed,Object? wallet = freezed,Object? cars = freezed,Object? userLevel = freezed,}) {
  return _then(_ToSteward(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
as ToStewardUser?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as Address?,guildAreaActivity: freezed == guildAreaActivity ? _self.guildAreaActivity : guildAreaActivity // ignore: cast_nullable_to_non_nullable
as Activity?,guildTypeActivity: freezed == guildTypeActivity ? _self.guildTypeActivity : guildTypeActivity // ignore: cast_nullable_to_non_nullable
as Activity?,killHouse: freezed == killHouse ? _self._killHouse : killHouse // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,stewardKillHouse: freezed == stewardKillHouse ? _self._stewardKillHouse : stewardKillHouse // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,stewards: freezed == stewards ? _self._stewards : stewards // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,getPosStatus: freezed == getPosStatus ? _self.getPosStatus : getPosStatus // ignore: cast_nullable_to_non_nullable
as PosStatus?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,createDate: freezed == createDate ? _self.createDate : createDate // ignore: cast_nullable_to_non_nullable
as String?,modifyDate: freezed == modifyDate ? _self.modifyDate : modifyDate // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,userIdForeignKey: freezed == userIdForeignKey ? _self.userIdForeignKey : userIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,addressIdForeignKey: freezed == addressIdForeignKey ? _self.addressIdForeignKey : addressIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,userBankIdForeignKey: freezed == userBankIdForeignKey ? _self.userBankIdForeignKey : userBankIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,walletIdForeignKey: freezed == walletIdForeignKey ? _self.walletIdForeignKey : walletIdForeignKey // ignore: cast_nullable_to_non_nullable
as dynamic,provincialGovernmentIdKey: freezed == provincialGovernmentIdKey ? _self.provincialGovernmentIdKey : provincialGovernmentIdKey // ignore: cast_nullable_to_non_nullable
as dynamic,identityDocuments: freezed == identityDocuments ? _self.identityDocuments : identityDocuments // ignore: cast_nullable_to_non_nullable
as dynamic,active: freezed == active ? _self.active : active // ignore: cast_nullable_to_non_nullable
as bool?,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?,guildsId: freezed == guildsId ? _self.guildsId : guildsId // ignore: cast_nullable_to_non_nullable
as String?,licenseNumber: freezed == licenseNumber ? _self.licenseNumber : licenseNumber // ignore: cast_nullable_to_non_nullable
as String?,guildsName: freezed == guildsName ? _self.guildsName : guildsName // ignore: cast_nullable_to_non_nullable
as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
as dynamic,typeActivity: freezed == typeActivity ? _self.typeActivity : typeActivity // ignore: cast_nullable_to_non_nullable
as String?,areaActivity: freezed == areaActivity ? _self.areaActivity : areaActivity // 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?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as bool?,hasPos: freezed == hasPos ? _self.hasPos : hasPos // ignore: cast_nullable_to_non_nullable
as bool?,centersAllocation: freezed == centersAllocation ? _self.centersAllocation : centersAllocation // ignore: cast_nullable_to_non_nullable
as dynamic,killHouseCentersAllocation: freezed == killHouseCentersAllocation ? _self.killHouseCentersAllocation : killHouseCentersAllocation // ignore: cast_nullable_to_non_nullable
as dynamic,allocationLimit: freezed == allocationLimit ? _self.allocationLimit : allocationLimit // ignore: cast_nullable_to_non_nullable
as dynamic,limitationAllocation: freezed == limitationAllocation ? _self.limitationAllocation : limitationAllocation // ignore: cast_nullable_to_non_nullable
as bool?,registerarRole: freezed == registerarRole ? _self.registerarRole : registerarRole // ignore: cast_nullable_to_non_nullable
as dynamic,registerarFullname: freezed == registerarFullname ? _self.registerarFullname : registerarFullname // ignore: cast_nullable_to_non_nullable
as dynamic,registerarMobile: freezed == registerarMobile ? _self.registerarMobile : registerarMobile // ignore: cast_nullable_to_non_nullable
as dynamic,killHouseRegister: freezed == killHouseRegister ? _self.killHouseRegister : killHouseRegister // ignore: cast_nullable_to_non_nullable
as bool?,stewardRegister: freezed == stewardRegister ? _self.stewardRegister : stewardRegister // ignore: cast_nullable_to_non_nullable
as bool?,guildsRoomRegister: freezed == guildsRoomRegister ? _self.guildsRoomRegister : guildsRoomRegister // ignore: cast_nullable_to_non_nullable
as bool?,posCompanyRegister: freezed == posCompanyRegister ? _self.posCompanyRegister : posCompanyRegister // ignore: cast_nullable_to_non_nullable
as bool?,provinceAcceptState: freezed == provinceAcceptState ? _self.provinceAcceptState : provinceAcceptState // ignore: cast_nullable_to_non_nullable
as String?,provinceMessage: freezed == provinceMessage ? _self.provinceMessage : provinceMessage // ignore: cast_nullable_to_non_nullable
as dynamic,condition: freezed == condition ? _self.condition : condition // ignore: cast_nullable_to_non_nullable
as dynamic,descriptionCondition: freezed == descriptionCondition ? _self.descriptionCondition : descriptionCondition // ignore: cast_nullable_to_non_nullable
as dynamic,stewardActive: freezed == stewardActive ? _self.stewardActive : stewardActive // ignore: cast_nullable_to_non_nullable
as bool?,stewardAllocationLimit: freezed == stewardAllocationLimit ? _self.stewardAllocationLimit : stewardAllocationLimit // ignore: cast_nullable_to_non_nullable
as dynamic,stewardLimitationAllocation: freezed == stewardLimitationAllocation ? _self.stewardLimitationAllocation : stewardLimitationAllocation // ignore: cast_nullable_to_non_nullable
as bool?,license: freezed == license ? _self.license : license // ignore: cast_nullable_to_non_nullable
as bool?,licenseForm: freezed == licenseForm ? _self.licenseForm : licenseForm // ignore: cast_nullable_to_non_nullable
as dynamic,licenseFile: freezed == licenseFile ? _self.licenseFile : licenseFile // ignore: cast_nullable_to_non_nullable
as dynamic,reviewerRole: freezed == reviewerRole ? _self.reviewerRole : reviewerRole // ignore: cast_nullable_to_non_nullable
as dynamic,reviewerFullname: freezed == reviewerFullname ? _self.reviewerFullname : reviewerFullname // ignore: cast_nullable_to_non_nullable
as dynamic,reviewerMobile: freezed == reviewerMobile ? _self.reviewerMobile : reviewerMobile // ignore: cast_nullable_to_non_nullable
as dynamic,checkerMessage: freezed == checkerMessage ? _self.checkerMessage : checkerMessage // ignore: cast_nullable_to_non_nullable
as dynamic,finalAccept: freezed == finalAccept ? _self.finalAccept : finalAccept // ignore: cast_nullable_to_non_nullable
as bool?,temporaryRegistration: freezed == temporaryRegistration ? _self.temporaryRegistration : temporaryRegistration // 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,userBankInfo: freezed == userBankInfo ? _self.userBankInfo : userBankInfo // ignore: cast_nullable_to_non_nullable
as dynamic,wallet: freezed == wallet ? _self.wallet : wallet // ignore: cast_nullable_to_non_nullable
as int?,cars: freezed == cars ? _self._cars : cars // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,userLevel: freezed == userLevel ? _self._userLevel : userLevel // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,
  ));
}

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

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

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

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

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

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


/// @nodoc
mixin _$ToStewardUser {

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

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is ToStewardUser&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.nationalId, nationalId) || other.nationalId == nationalId)&&(identical(other.city, city) || other.city == city));
}

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

@override
String toString() {
  return 'ToStewardUser(fullname: $fullname, firstName: $firstName, lastName: $lastName, mobile: $mobile, nationalId: $nationalId, city: $city)';
}


}

/// @nodoc
abstract mixin class $ToStewardUserCopyWith<$Res>  {
  factory $ToStewardUserCopyWith(ToStewardUser value, $Res Function(ToStewardUser) _then) = _$ToStewardUserCopyWithImpl;
@useResult
$Res call({
 String? fullname, String? firstName, String? lastName, String? mobile, String? nationalId, String? city
});




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

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

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

}


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

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

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

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

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

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

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

}
}

}

/// @nodoc
@JsonSerializable()

class _ToStewardUser implements ToStewardUser {
  const _ToStewardUser({this.fullname, this.firstName, this.lastName, this.mobile, this.nationalId, this.city});
  factory _ToStewardUser.fromJson(Map<String, dynamic> json) => _$ToStewardUserFromJson(json);

@override final  String? fullname;
@override final  String? firstName;
@override final  String? lastName;
@override final  String? mobile;
@override final  String? nationalId;
@override final  String? city;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _ToStewardUser&&(identical(other.fullname, fullname) || other.fullname == fullname)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.nationalId, nationalId) || other.nationalId == nationalId)&&(identical(other.city, city) || other.city == city));
}

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

@override
String toString() {
  return 'ToStewardUser(fullname: $fullname, firstName: $firstName, lastName: $lastName, mobile: $mobile, nationalId: $nationalId, city: $city)';
}


}

/// @nodoc
abstract mixin class _$ToStewardUserCopyWith<$Res> implements $ToStewardUserCopyWith<$Res> {
  factory _$ToStewardUserCopyWith(_ToStewardUser value, $Res Function(_ToStewardUser) _then) = __$ToStewardUserCopyWithImpl;
@override @useResult
$Res call({
 String? fullname, String? firstName, String? lastName, String? mobile, String? nationalId, String? city
});




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

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

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


}


/// @nodoc
mixin _$Address {

 Province? get province; CitySimple? get city; String? get address; String? get postalCode;
/// Create a copy of Address
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$AddressCopyWith<Address> get copyWith => _$AddressCopyWithImpl<Address>(this as Address, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postalCode, postalCode) || other.postalCode == postalCode));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,province,city,address,postalCode);

@override
String toString() {
  return 'Address(province: $province, city: $city, address: $address, postalCode: $postalCode)';
}


}

/// @nodoc
abstract mixin class $AddressCopyWith<$Res>  {
  factory $AddressCopyWith(Address value, $Res Function(Address) _then) = _$AddressCopyWithImpl;
@useResult
$Res call({
 Province? province, CitySimple? city, String? address, String? postalCode
});


$ProvinceCopyWith<$Res>? get province;$CitySimpleCopyWith<$Res>? get city;

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

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

/// Create a copy of Address
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postalCode = freezed,}) {
  return _then(_self.copyWith(
province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
as Province?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
as CitySimple?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as String?,postalCode: freezed == postalCode ? _self.postalCode : postalCode // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}
/// Create a copy of Address
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ProvinceCopyWith<$Res>? get province {
    if (_self.province == null) {
    return null;
  }

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

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


/// Adds pattern-matching-related methods to [Address].
extension AddressPatterns on Address {
/// 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( _Address value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _Address() 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( _Address value)  $default,){
final _that = this;
switch (_that) {
case _Address():
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( _Address value)?  $default,){
final _that = this;
switch (_that) {
case _Address() 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( Province? province,  CitySimple? city,  String? address,  String? postalCode)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _Address() when $default != null:
return $default(_that.province,_that.city,_that.address,_that.postalCode);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( Province? province,  CitySimple? city,  String? address,  String? postalCode)  $default,) {final _that = this;
switch (_that) {
case _Address():
return $default(_that.province,_that.city,_that.address,_that.postalCode);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( Province? province,  CitySimple? city,  String? address,  String? postalCode)?  $default,) {final _that = this;
switch (_that) {
case _Address() when $default != null:
return $default(_that.province,_that.city,_that.address,_that.postalCode);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _Address implements Address {
  const _Address({this.province, this.city, this.address, this.postalCode});
  factory _Address.fromJson(Map<String, dynamic> json) => _$AddressFromJson(json);

@override final  Province? province;
@override final  CitySimple? city;
@override final  String? address;
@override final  String? postalCode;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Address&&(identical(other.province, province) || other.province == province)&&(identical(other.city, city) || other.city == city)&&(identical(other.address, address) || other.address == address)&&(identical(other.postalCode, postalCode) || other.postalCode == postalCode));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,province,city,address,postalCode);

@override
String toString() {
  return 'Address(province: $province, city: $city, address: $address, postalCode: $postalCode)';
}


}

/// @nodoc
abstract mixin class _$AddressCopyWith<$Res> implements $AddressCopyWith<$Res> {
  factory _$AddressCopyWith(_Address value, $Res Function(_Address) _then) = __$AddressCopyWithImpl;
@override @useResult
$Res call({
 Province? province, CitySimple? city, String? address, String? postalCode
});


@override $ProvinceCopyWith<$Res>? get province;@override $CitySimpleCopyWith<$Res>? get city;

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

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

/// Create a copy of Address
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? province = freezed,Object? city = freezed,Object? address = freezed,Object? postalCode = freezed,}) {
  return _then(_Address(
province: freezed == province ? _self.province : province // ignore: cast_nullable_to_non_nullable
as Province?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
as CitySimple?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as String?,postalCode: freezed == postalCode ? _self.postalCode : postalCode // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}

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

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

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


/// @nodoc
mixin _$Province {

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

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is Province&&(identical(other.key, key) || other.key == key)&&(identical(other.name, name) || other.name == name));
}

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

@override
String toString() {
  return 'Province(key: $key, name: $name)';
}


}

/// @nodoc
abstract mixin class $ProvinceCopyWith<$Res>  {
  factory $ProvinceCopyWith(Province value, $Res Function(Province) _then) = _$ProvinceCopyWithImpl;
@useResult
$Res call({
 String? key, String? name
});




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

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

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

}


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

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

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

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

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

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

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

}
}

}

/// @nodoc
@JsonSerializable()

class _Province implements Province {
  const _Province({this.key, this.name});
  factory _Province.fromJson(Map<String, dynamic> json) => _$ProvinceFromJson(json);

@override final  String? key;
@override final  String? name;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Province&&(identical(other.key, key) || other.key == key)&&(identical(other.name, name) || other.name == name));
}

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

@override
String toString() {
  return 'Province(key: $key, name: $name)';
}


}

/// @nodoc
abstract mixin class _$ProvinceCopyWith<$Res> implements $ProvinceCopyWith<$Res> {
  factory _$ProvinceCopyWith(_Province value, $Res Function(_Province) _then) = __$ProvinceCopyWithImpl;
@override @useResult
$Res call({
 String? key, String? name
});




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

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

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


}


/// @nodoc
mixin _$CitySimple {

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

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is CitySimple&&(identical(other.key, key) || other.key == key)&&(identical(other.name, name) || other.name == name));
}

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

@override
String toString() {
  return 'CitySimple(key: $key, name: $name)';
}


}

/// @nodoc
abstract mixin class $CitySimpleCopyWith<$Res>  {
  factory $CitySimpleCopyWith(CitySimple value, $Res Function(CitySimple) _then) = _$CitySimpleCopyWithImpl;
@useResult
$Res call({
 String? key, String? name
});




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

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

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

}


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

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

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

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

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

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

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

}
}

}

/// @nodoc
@JsonSerializable()

class _CitySimple implements CitySimple {
  const _CitySimple({this.key, this.name});
  factory _CitySimple.fromJson(Map<String, dynamic> json) => _$CitySimpleFromJson(json);

@override final  String? key;
@override final  String? name;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _CitySimple&&(identical(other.key, key) || other.key == key)&&(identical(other.name, name) || other.name == name));
}

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

@override
String toString() {
  return 'CitySimple(key: $key, name: $name)';
}


}

/// @nodoc
abstract mixin class _$CitySimpleCopyWith<$Res> implements $CitySimpleCopyWith<$Res> {
  factory _$CitySimpleCopyWith(_CitySimple value, $Res Function(_CitySimple) _then) = __$CitySimpleCopyWithImpl;
@override @useResult
$Res call({
 String? key, String? name
});




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

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

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


}


/// @nodoc
mixin _$Activity {

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

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is Activity&&(identical(other.key, key) || other.key == key)&&(identical(other.title, title) || other.title == title));
}

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

@override
String toString() {
  return 'Activity(key: $key, title: $title)';
}


}

/// @nodoc
abstract mixin class $ActivityCopyWith<$Res>  {
  factory $ActivityCopyWith(Activity value, $Res Function(Activity) _then) = _$ActivityCopyWithImpl;
@useResult
$Res call({
 String? key, String? title
});




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

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

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

}


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

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

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

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

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

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

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

}
}

}

/// @nodoc
@JsonSerializable()

class _Activity implements Activity {
  const _Activity({this.key, this.title});
  factory _Activity.fromJson(Map<String, dynamic> json) => _$ActivityFromJson(json);

@override final  String? key;
@override final  String? title;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Activity&&(identical(other.key, key) || other.key == key)&&(identical(other.title, title) || other.title == title));
}

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

@override
String toString() {
  return 'Activity(key: $key, title: $title)';
}


}

/// @nodoc
abstract mixin class _$ActivityCopyWith<$Res> implements $ActivityCopyWith<$Res> {
  factory _$ActivityCopyWith(_Activity value, $Res Function(_Activity) _then) = __$ActivityCopyWithImpl;
@override @useResult
$Res call({
 String? key, String? title
});




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

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

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


}


/// @nodoc
mixin _$PosStatus {

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

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is PosStatus&&(identical(other.lenActiveSessions, lenActiveSessions) || other.lenActiveSessions == lenActiveSessions)&&(identical(other.hasPons, hasPons) || other.hasPons == hasPons)&&(identical(other.hasActivePons, hasActivePons) || other.hasActivePons == hasActivePons));
}

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

@override
String toString() {
  return 'PosStatus(lenActiveSessions: $lenActiveSessions, hasPons: $hasPons, hasActivePons: $hasActivePons)';
}


}

/// @nodoc
abstract mixin class $PosStatusCopyWith<$Res>  {
  factory $PosStatusCopyWith(PosStatus value, $Res Function(PosStatus) _then) = _$PosStatusCopyWithImpl;
@useResult
$Res call({
 int? lenActiveSessions, bool? hasPons, bool? hasActivePons
});




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

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

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

}


/// Adds pattern-matching-related methods to [PosStatus].
extension PosStatusPatterns on PosStatus {
/// 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( _PosStatus value)?  $default,{required TResult orElse(),}){
final _that = this;
switch (_that) {
case _PosStatus() 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( _PosStatus value)  $default,){
final _that = this;
switch (_that) {
case _PosStatus():
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( _PosStatus value)?  $default,){
final _that = this;
switch (_that) {
case _PosStatus() 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? lenActiveSessions,  bool? hasPons,  bool? hasActivePons)?  $default,{required TResult orElse(),}) {final _that = this;
switch (_that) {
case _PosStatus() when $default != null:
return $default(_that.lenActiveSessions,_that.hasPons,_that.hasActivePons);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? lenActiveSessions,  bool? hasPons,  bool? hasActivePons)  $default,) {final _that = this;
switch (_that) {
case _PosStatus():
return $default(_that.lenActiveSessions,_that.hasPons,_that.hasActivePons);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? lenActiveSessions,  bool? hasPons,  bool? hasActivePons)?  $default,) {final _that = this;
switch (_that) {
case _PosStatus() when $default != null:
return $default(_that.lenActiveSessions,_that.hasPons,_that.hasActivePons);case _:
  return null;

}
}

}

/// @nodoc
@JsonSerializable()

class _PosStatus implements PosStatus {
  const _PosStatus({this.lenActiveSessions, this.hasPons, this.hasActivePons});
  factory _PosStatus.fromJson(Map<String, dynamic> json) => _$PosStatusFromJson(json);

@override final  int? lenActiveSessions;
@override final  bool? hasPons;
@override final  bool? hasActivePons;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _PosStatus&&(identical(other.lenActiveSessions, lenActiveSessions) || other.lenActiveSessions == lenActiveSessions)&&(identical(other.hasPons, hasPons) || other.hasPons == hasPons)&&(identical(other.hasActivePons, hasActivePons) || other.hasActivePons == hasActivePons));
}

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

@override
String toString() {
  return 'PosStatus(lenActiveSessions: $lenActiveSessions, hasPons: $hasPons, hasActivePons: $hasActivePons)';
}


}

/// @nodoc
abstract mixin class _$PosStatusCopyWith<$Res> implements $PosStatusCopyWith<$Res> {
  factory _$PosStatusCopyWith(_PosStatus value, $Res Function(_PosStatus) _then) = __$PosStatusCopyWithImpl;
@override @useResult
$Res call({
 int? lenActiveSessions, bool? hasPons, bool? hasActivePons
});




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

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

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


}

// dart format on
