// dart format width=80
// coverage:ignore-file
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark

part of 'allocated_made.dart';

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

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

/// @nodoc
mixin _$AllocatedMadeModel {

 int? get count; String? get next; String? get previous; List<AllocatedMadeResult>? get results;
/// Create a copy of AllocatedMadeModel
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$AllocatedMadeModelCopyWith<AllocatedMadeModel> get copyWith => _$AllocatedMadeModelCopyWithImpl<AllocatedMadeModel>(this as AllocatedMadeModel, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is AllocatedMadeModel&&(identical(other.count, count) || other.count == count)&&(identical(other.next, next) || other.next == next)&&(identical(other.previous, previous) || other.previous == previous)&&const DeepCollectionEquality().equals(other.results, results));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,count,next,previous,const DeepCollectionEquality().hash(results));

@override
String toString() {
  return 'AllocatedMadeModel(count: $count, next: $next, previous: $previous, results: $results)';
}


}

/// @nodoc
abstract mixin class $AllocatedMadeModelCopyWith<$Res>  {
  factory $AllocatedMadeModelCopyWith(AllocatedMadeModel value, $Res Function(AllocatedMadeModel) _then) = _$AllocatedMadeModelCopyWithImpl;
@useResult
$Res call({
 int? count, String? next, String? previous, List<AllocatedMadeResult>? results
});




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

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

/// Create a copy of AllocatedMadeModel
/// with the given fields replaced by the non-null parameter values.
@pragma('vm:prefer-inline') @override $Res call({Object? count = freezed,Object? next = freezed,Object? previous = freezed,Object? results = freezed,}) {
  return _then(_self.copyWith(
count: freezed == count ? _self.count : count // ignore: cast_nullable_to_non_nullable
as int?,next: freezed == next ? _self.next : next // ignore: cast_nullable_to_non_nullable
as String?,previous: freezed == previous ? _self.previous : previous // ignore: cast_nullable_to_non_nullable
as String?,results: freezed == results ? _self.results : results // ignore: cast_nullable_to_non_nullable
as List<AllocatedMadeResult>?,
  ));
}

}


/// @nodoc
@JsonSerializable()

class _AllocatedMadeModel implements AllocatedMadeModel {
   _AllocatedMadeModel({this.count, this.next, this.previous, final  List<AllocatedMadeResult>? results}): _results = results;
  factory _AllocatedMadeModel.fromJson(Map<String, dynamic> json) => _$AllocatedMadeModelFromJson(json);

@override final  int? count;
@override final  String? next;
@override final  String? previous;
 final  List<AllocatedMadeResult>? _results;
@override List<AllocatedMadeResult>? get results {
  final value = _results;
  if (value == null) return null;
  if (_results is EqualUnmodifiableListView) return _results;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}


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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _AllocatedMadeModel&&(identical(other.count, count) || other.count == count)&&(identical(other.next, next) || other.next == next)&&(identical(other.previous, previous) || other.previous == previous)&&const DeepCollectionEquality().equals(other._results, _results));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType,count,next,previous,const DeepCollectionEquality().hash(_results));

@override
String toString() {
  return 'AllocatedMadeModel(count: $count, next: $next, previous: $previous, results: $results)';
}


}

/// @nodoc
abstract mixin class _$AllocatedMadeModelCopyWith<$Res> implements $AllocatedMadeModelCopyWith<$Res> {
  factory _$AllocatedMadeModelCopyWith(_AllocatedMadeModel value, $Res Function(_AllocatedMadeModel) _then) = __$AllocatedMadeModelCopyWithImpl;
@override @useResult
$Res call({
 int? count, String? next, String? previous, List<AllocatedMadeResult>? results
});




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

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

/// Create a copy of AllocatedMadeModel
/// with the given fields replaced by the non-null parameter values.
@override @pragma('vm:prefer-inline') $Res call({Object? count = freezed,Object? next = freezed,Object? previous = freezed,Object? results = freezed,}) {
  return _then(_AllocatedMadeModel(
count: freezed == count ? _self.count : count // ignore: cast_nullable_to_non_nullable
as int?,next: freezed == next ? _self.next : next // ignore: cast_nullable_to_non_nullable
as String?,previous: freezed == previous ? _self.previous : previous // ignore: cast_nullable_to_non_nullable
as String?,results: freezed == results ? _self._results : results // ignore: cast_nullable_to_non_nullable
as List<AllocatedMadeResult>?,
  ));
}


}


/// @nodoc
mixin _$AllocatedMadeResult {

 int? get id; Product? get product; dynamic get kill_house; dynamic get to_kill_house; Steward? get steward; dynamic get to_steward; dynamic get guilds; Steward? get to_guilds; dynamic get to_cold_house; int? get index_weight; int? get date_timestamp; int? get new_state; int? get new_receiver_state; int? get new_allocation_state; String? get key; String? get create_date; String? get modify_date; bool? get trash; int? get number_of_carcasses; int? get real_number_of_carcasses; int? get receiver_real_number_of_carcasses; int? get weight_of_carcasses; int? get real_weight_of_carcasses; int? get receiver_real_weight_of_carcasses; int? get weight_loss_of_carcasses; bool? get final_registration; String? get sell_type; String? get product_name; String? get seller_type; String? get type; String? get sale_type; String? get allocation_type; bool? get system_registration_code; int? get registration_code; int? get amount; int? get total_amount; int? get total_amount_paid; int? get total_amount_remain; String? get logged_registration_code; String? get state; String? get receiver_state; String? get allocation_state; String? get date; String? get role; String? get steward_temp_key; bool? get approved_price_status; bool? get calculate_status; bool? get temporary_trash; bool? get temporary_deleted; String? get created_by; String? get modified_by; dynamic get ware_house; dynamic get steward_ware_house; dynamic get car; dynamic get dispenser;
/// Create a copy of AllocatedMadeResult
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$AllocatedMadeResultCopyWith<AllocatedMadeResult> get copyWith => _$AllocatedMadeResultCopyWithImpl<AllocatedMadeResult>(this as AllocatedMadeResult, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is AllocatedMadeResult&&(identical(other.id, id) || other.id == id)&&(identical(other.product, product) || other.product == product)&&const DeepCollectionEquality().equals(other.kill_house, kill_house)&&const DeepCollectionEquality().equals(other.to_kill_house, to_kill_house)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.to_steward, to_steward)&&const DeepCollectionEquality().equals(other.guilds, guilds)&&(identical(other.to_guilds, to_guilds) || other.to_guilds == to_guilds)&&const DeepCollectionEquality().equals(other.to_cold_house, to_cold_house)&&(identical(other.index_weight, index_weight) || other.index_weight == index_weight)&&(identical(other.date_timestamp, date_timestamp) || other.date_timestamp == date_timestamp)&&(identical(other.new_state, new_state) || other.new_state == new_state)&&(identical(other.new_receiver_state, new_receiver_state) || other.new_receiver_state == new_receiver_state)&&(identical(other.new_allocation_state, new_allocation_state) || other.new_allocation_state == new_allocation_state)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.real_number_of_carcasses, real_number_of_carcasses) || other.real_number_of_carcasses == real_number_of_carcasses)&&(identical(other.receiver_real_number_of_carcasses, receiver_real_number_of_carcasses) || other.receiver_real_number_of_carcasses == receiver_real_number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.real_weight_of_carcasses, real_weight_of_carcasses) || other.real_weight_of_carcasses == real_weight_of_carcasses)&&(identical(other.receiver_real_weight_of_carcasses, receiver_real_weight_of_carcasses) || other.receiver_real_weight_of_carcasses == receiver_real_weight_of_carcasses)&&(identical(other.weight_loss_of_carcasses, weight_loss_of_carcasses) || other.weight_loss_of_carcasses == weight_loss_of_carcasses)&&(identical(other.final_registration, final_registration) || other.final_registration == final_registration)&&(identical(other.sell_type, sell_type) || other.sell_type == sell_type)&&(identical(other.product_name, product_name) || other.product_name == product_name)&&(identical(other.seller_type, seller_type) || other.seller_type == seller_type)&&(identical(other.type, type) || other.type == type)&&(identical(other.sale_type, sale_type) || other.sale_type == sale_type)&&(identical(other.allocation_type, allocation_type) || other.allocation_type == allocation_type)&&(identical(other.system_registration_code, system_registration_code) || other.system_registration_code == system_registration_code)&&(identical(other.registration_code, registration_code) || other.registration_code == registration_code)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.total_amount, total_amount) || other.total_amount == total_amount)&&(identical(other.total_amount_paid, total_amount_paid) || other.total_amount_paid == total_amount_paid)&&(identical(other.total_amount_remain, total_amount_remain) || other.total_amount_remain == total_amount_remain)&&(identical(other.logged_registration_code, logged_registration_code) || other.logged_registration_code == logged_registration_code)&&(identical(other.state, state) || other.state == state)&&(identical(other.receiver_state, receiver_state) || other.receiver_state == receiver_state)&&(identical(other.allocation_state, allocation_state) || other.allocation_state == allocation_state)&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.steward_temp_key, steward_temp_key) || other.steward_temp_key == steward_temp_key)&&(identical(other.approved_price_status, approved_price_status) || other.approved_price_status == approved_price_status)&&(identical(other.calculate_status, calculate_status) || other.calculate_status == calculate_status)&&(identical(other.temporary_trash, temporary_trash) || other.temporary_trash == temporary_trash)&&(identical(other.temporary_deleted, temporary_deleted) || other.temporary_deleted == temporary_deleted)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.ware_house, ware_house)&&const DeepCollectionEquality().equals(other.steward_ware_house, steward_ware_house)&&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,const DeepCollectionEquality().hash(kill_house),const DeepCollectionEquality().hash(to_kill_house),steward,const DeepCollectionEquality().hash(to_steward),const DeepCollectionEquality().hash(guilds),to_guilds,const DeepCollectionEquality().hash(to_cold_house),index_weight,date_timestamp,new_state,new_receiver_state,new_allocation_state,key,create_date,modify_date,trash,number_of_carcasses,real_number_of_carcasses,receiver_real_number_of_carcasses,weight_of_carcasses,real_weight_of_carcasses,receiver_real_weight_of_carcasses,weight_loss_of_carcasses,final_registration,sell_type,product_name,seller_type,type,sale_type,allocation_type,system_registration_code,registration_code,amount,total_amount,total_amount_paid,total_amount_remain,logged_registration_code,state,receiver_state,allocation_state,date,role,steward_temp_key,approved_price_status,calculate_status,temporary_trash,temporary_deleted,created_by,modified_by,const DeepCollectionEquality().hash(ware_house),const DeepCollectionEquality().hash(steward_ware_house),const DeepCollectionEquality().hash(car),const DeepCollectionEquality().hash(dispenser)]);

@override
String toString() {
  return 'AllocatedMadeResult(id: $id, product: $product, kill_house: $kill_house, to_kill_house: $to_kill_house, steward: $steward, to_steward: $to_steward, guilds: $guilds, to_guilds: $to_guilds, to_cold_house: $to_cold_house, index_weight: $index_weight, date_timestamp: $date_timestamp, new_state: $new_state, new_receiver_state: $new_receiver_state, new_allocation_state: $new_allocation_state, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, number_of_carcasses: $number_of_carcasses, real_number_of_carcasses: $real_number_of_carcasses, receiver_real_number_of_carcasses: $receiver_real_number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, real_weight_of_carcasses: $real_weight_of_carcasses, receiver_real_weight_of_carcasses: $receiver_real_weight_of_carcasses, weight_loss_of_carcasses: $weight_loss_of_carcasses, final_registration: $final_registration, sell_type: $sell_type, product_name: $product_name, seller_type: $seller_type, type: $type, sale_type: $sale_type, allocation_type: $allocation_type, system_registration_code: $system_registration_code, registration_code: $registration_code, amount: $amount, total_amount: $total_amount, total_amount_paid: $total_amount_paid, total_amount_remain: $total_amount_remain, logged_registration_code: $logged_registration_code, state: $state, receiver_state: $receiver_state, allocation_state: $allocation_state, date: $date, role: $role, steward_temp_key: $steward_temp_key, approved_price_status: $approved_price_status, calculate_status: $calculate_status, temporary_trash: $temporary_trash, temporary_deleted: $temporary_deleted, created_by: $created_by, modified_by: $modified_by, ware_house: $ware_house, steward_ware_house: $steward_ware_house, car: $car, dispenser: $dispenser)';
}


}

/// @nodoc
abstract mixin class $AllocatedMadeResultCopyWith<$Res>  {
  factory $AllocatedMadeResultCopyWith(AllocatedMadeResult value, $Res Function(AllocatedMadeResult) _then) = _$AllocatedMadeResultCopyWithImpl;
@useResult
$Res call({
 int? id, Product? product, dynamic kill_house, dynamic to_kill_house, Steward? steward, dynamic to_steward, dynamic guilds, Steward? to_guilds, dynamic to_cold_house, int? index_weight, int? date_timestamp, int? new_state, int? new_receiver_state, int? new_allocation_state, String? key, String? create_date, String? modify_date, bool? trash, int? number_of_carcasses, int? real_number_of_carcasses, int? receiver_real_number_of_carcasses, int? weight_of_carcasses, int? real_weight_of_carcasses, int? receiver_real_weight_of_carcasses, int? weight_loss_of_carcasses, bool? final_registration, String? sell_type, String? product_name, String? seller_type, String? type, String? sale_type, String? allocation_type, bool? system_registration_code, int? registration_code, int? amount, int? total_amount, int? total_amount_paid, int? total_amount_remain, String? logged_registration_code, String? state, String? receiver_state, String? allocation_state, String? date, String? role, String? steward_temp_key, bool? approved_price_status, bool? calculate_status, bool? temporary_trash, bool? temporary_deleted, String? created_by, String? modified_by, dynamic ware_house, dynamic steward_ware_house, dynamic car, dynamic dispenser
});


$ProductCopyWith<$Res>? get product;$StewardCopyWith<$Res>? get steward;$StewardCopyWith<$Res>? get to_guilds;

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

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

/// Create a copy of AllocatedMadeResult
/// 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? kill_house = freezed,Object? to_kill_house = freezed,Object? steward = freezed,Object? to_steward = freezed,Object? guilds = freezed,Object? to_guilds = freezed,Object? to_cold_house = freezed,Object? index_weight = freezed,Object? date_timestamp = freezed,Object? new_state = freezed,Object? new_receiver_state = freezed,Object? new_allocation_state = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? number_of_carcasses = freezed,Object? real_number_of_carcasses = freezed,Object? receiver_real_number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? real_weight_of_carcasses = freezed,Object? receiver_real_weight_of_carcasses = freezed,Object? weight_loss_of_carcasses = freezed,Object? final_registration = freezed,Object? sell_type = freezed,Object? product_name = freezed,Object? seller_type = freezed,Object? type = freezed,Object? sale_type = freezed,Object? allocation_type = freezed,Object? system_registration_code = freezed,Object? registration_code = freezed,Object? amount = freezed,Object? total_amount = freezed,Object? total_amount_paid = freezed,Object? total_amount_remain = freezed,Object? logged_registration_code = freezed,Object? state = freezed,Object? receiver_state = freezed,Object? allocation_state = freezed,Object? date = freezed,Object? role = freezed,Object? steward_temp_key = freezed,Object? approved_price_status = freezed,Object? calculate_status = freezed,Object? temporary_trash = freezed,Object? temporary_deleted = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? ware_house = freezed,Object? steward_ware_house = 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?,kill_house: freezed == kill_house ? _self.kill_house : kill_house // ignore: cast_nullable_to_non_nullable
as dynamic,to_kill_house: freezed == to_kill_house ? _self.to_kill_house : to_kill_house // ignore: cast_nullable_to_non_nullable
as dynamic,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as Steward?,to_steward: freezed == to_steward ? _self.to_steward : to_steward // ignore: cast_nullable_to_non_nullable
as dynamic,guilds: freezed == guilds ? _self.guilds : guilds // ignore: cast_nullable_to_non_nullable
as dynamic,to_guilds: freezed == to_guilds ? _self.to_guilds : to_guilds // ignore: cast_nullable_to_non_nullable
as Steward?,to_cold_house: freezed == to_cold_house ? _self.to_cold_house : to_cold_house // ignore: cast_nullable_to_non_nullable
as dynamic,index_weight: freezed == index_weight ? _self.index_weight : index_weight // ignore: cast_nullable_to_non_nullable
as int?,date_timestamp: freezed == date_timestamp ? _self.date_timestamp : date_timestamp // ignore: cast_nullable_to_non_nullable
as int?,new_state: freezed == new_state ? _self.new_state : new_state // ignore: cast_nullable_to_non_nullable
as int?,new_receiver_state: freezed == new_receiver_state ? _self.new_receiver_state : new_receiver_state // ignore: cast_nullable_to_non_nullable
as int?,new_allocation_state: freezed == new_allocation_state ? _self.new_allocation_state : new_allocation_state // ignore: cast_nullable_to_non_nullable
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,real_number_of_carcasses: freezed == real_number_of_carcasses ? _self.real_number_of_carcasses : real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,receiver_real_number_of_carcasses: freezed == receiver_real_number_of_carcasses ? _self.receiver_real_number_of_carcasses : receiver_real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,real_weight_of_carcasses: freezed == real_weight_of_carcasses ? _self.real_weight_of_carcasses : real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,receiver_real_weight_of_carcasses: freezed == receiver_real_weight_of_carcasses ? _self.receiver_real_weight_of_carcasses : receiver_real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,weight_loss_of_carcasses: freezed == weight_loss_of_carcasses ? _self.weight_loss_of_carcasses : weight_loss_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,final_registration: freezed == final_registration ? _self.final_registration : final_registration // ignore: cast_nullable_to_non_nullable
as bool?,sell_type: freezed == sell_type ? _self.sell_type : sell_type // ignore: cast_nullable_to_non_nullable
as String?,product_name: freezed == product_name ? _self.product_name : product_name // ignore: cast_nullable_to_non_nullable
as String?,seller_type: freezed == seller_type ? _self.seller_type : seller_type // ignore: cast_nullable_to_non_nullable
as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String?,sale_type: freezed == sale_type ? _self.sale_type : sale_type // ignore: cast_nullable_to_non_nullable
as String?,allocation_type: freezed == allocation_type ? _self.allocation_type : allocation_type // ignore: cast_nullable_to_non_nullable
as String?,system_registration_code: freezed == system_registration_code ? _self.system_registration_code : system_registration_code // ignore: cast_nullable_to_non_nullable
as bool?,registration_code: freezed == registration_code ? _self.registration_code : registration_code // ignore: cast_nullable_to_non_nullable
as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
as int?,total_amount: freezed == total_amount ? _self.total_amount : total_amount // ignore: cast_nullable_to_non_nullable
as int?,total_amount_paid: freezed == total_amount_paid ? _self.total_amount_paid : total_amount_paid // ignore: cast_nullable_to_non_nullable
as int?,total_amount_remain: freezed == total_amount_remain ? _self.total_amount_remain : total_amount_remain // ignore: cast_nullable_to_non_nullable
as int?,logged_registration_code: freezed == logged_registration_code ? _self.logged_registration_code : logged_registration_code // ignore: cast_nullable_to_non_nullable
as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
as String?,receiver_state: freezed == receiver_state ? _self.receiver_state : receiver_state // ignore: cast_nullable_to_non_nullable
as String?,allocation_state: freezed == allocation_state ? _self.allocation_state : allocation_state // 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 String?,steward_temp_key: freezed == steward_temp_key ? _self.steward_temp_key : steward_temp_key // ignore: cast_nullable_to_non_nullable
as String?,approved_price_status: freezed == approved_price_status ? _self.approved_price_status : approved_price_status // ignore: cast_nullable_to_non_nullable
as bool?,calculate_status: freezed == calculate_status ? _self.calculate_status : calculate_status // ignore: cast_nullable_to_non_nullable
as bool?,temporary_trash: freezed == temporary_trash ? _self.temporary_trash : temporary_trash // ignore: cast_nullable_to_non_nullable
as bool?,temporary_deleted: freezed == temporary_deleted ? _self.temporary_deleted : temporary_deleted // ignore: cast_nullable_to_non_nullable
as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
as String?,ware_house: freezed == ware_house ? _self.ware_house : ware_house // ignore: cast_nullable_to_non_nullable
as dynamic,steward_ware_house: freezed == steward_ware_house ? _self.steward_ware_house : steward_ware_house // 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 AllocatedMadeResult
/// 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 AllocatedMadeResult
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$StewardCopyWith<$Res>? get steward {
    if (_self.steward == null) {
    return null;
  }

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

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


/// @nodoc
@JsonSerializable()

class _AllocatedMadeResult implements AllocatedMadeResult {
   _AllocatedMadeResult({this.id, this.product, this.kill_house, this.to_kill_house, this.steward, this.to_steward, this.guilds, this.to_guilds, this.to_cold_house, this.index_weight, this.date_timestamp, this.new_state, this.new_receiver_state, this.new_allocation_state, this.key, this.create_date, this.modify_date, this.trash, this.number_of_carcasses, this.real_number_of_carcasses, this.receiver_real_number_of_carcasses, this.weight_of_carcasses, this.real_weight_of_carcasses, this.receiver_real_weight_of_carcasses, this.weight_loss_of_carcasses, this.final_registration, this.sell_type, this.product_name, this.seller_type, this.type, this.sale_type, this.allocation_type, this.system_registration_code, this.registration_code, this.amount, this.total_amount, this.total_amount_paid, this.total_amount_remain, this.logged_registration_code, this.state, this.receiver_state, this.allocation_state, this.date, this.role, this.steward_temp_key, this.approved_price_status, this.calculate_status, this.temporary_trash, this.temporary_deleted, this.created_by, this.modified_by, this.ware_house, this.steward_ware_house, this.car, this.dispenser});
  factory _AllocatedMadeResult.fromJson(Map<String, dynamic> json) => _$AllocatedMadeResultFromJson(json);

@override final  int? id;
@override final  Product? product;
@override final  dynamic kill_house;
@override final  dynamic to_kill_house;
@override final  Steward? steward;
@override final  dynamic to_steward;
@override final  dynamic guilds;
@override final  Steward? to_guilds;
@override final  dynamic to_cold_house;
@override final  int? index_weight;
@override final  int? date_timestamp;
@override final  int? new_state;
@override final  int? new_receiver_state;
@override final  int? new_allocation_state;
@override final  String? key;
@override final  String? create_date;
@override final  String? modify_date;
@override final  bool? trash;
@override final  int? number_of_carcasses;
@override final  int? real_number_of_carcasses;
@override final  int? receiver_real_number_of_carcasses;
@override final  int? weight_of_carcasses;
@override final  int? real_weight_of_carcasses;
@override final  int? receiver_real_weight_of_carcasses;
@override final  int? weight_loss_of_carcasses;
@override final  bool? final_registration;
@override final  String? sell_type;
@override final  String? product_name;
@override final  String? seller_type;
@override final  String? type;
@override final  String? sale_type;
@override final  String? allocation_type;
@override final  bool? system_registration_code;
@override final  int? registration_code;
@override final  int? amount;
@override final  int? total_amount;
@override final  int? total_amount_paid;
@override final  int? total_amount_remain;
@override final  String? logged_registration_code;
@override final  String? state;
@override final  String? receiver_state;
@override final  String? allocation_state;
@override final  String? date;
@override final  String? role;
@override final  String? steward_temp_key;
@override final  bool? approved_price_status;
@override final  bool? calculate_status;
@override final  bool? temporary_trash;
@override final  bool? temporary_deleted;
@override final  String? created_by;
@override final  String? modified_by;
@override final  dynamic ware_house;
@override final  dynamic steward_ware_house;
@override final  dynamic car;
@override final  dynamic dispenser;

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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _AllocatedMadeResult&&(identical(other.id, id) || other.id == id)&&(identical(other.product, product) || other.product == product)&&const DeepCollectionEquality().equals(other.kill_house, kill_house)&&const DeepCollectionEquality().equals(other.to_kill_house, to_kill_house)&&(identical(other.steward, steward) || other.steward == steward)&&const DeepCollectionEquality().equals(other.to_steward, to_steward)&&const DeepCollectionEquality().equals(other.guilds, guilds)&&(identical(other.to_guilds, to_guilds) || other.to_guilds == to_guilds)&&const DeepCollectionEquality().equals(other.to_cold_house, to_cold_house)&&(identical(other.index_weight, index_weight) || other.index_weight == index_weight)&&(identical(other.date_timestamp, date_timestamp) || other.date_timestamp == date_timestamp)&&(identical(other.new_state, new_state) || other.new_state == new_state)&&(identical(other.new_receiver_state, new_receiver_state) || other.new_receiver_state == new_receiver_state)&&(identical(other.new_allocation_state, new_allocation_state) || other.new_allocation_state == new_allocation_state)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&(identical(other.number_of_carcasses, number_of_carcasses) || other.number_of_carcasses == number_of_carcasses)&&(identical(other.real_number_of_carcasses, real_number_of_carcasses) || other.real_number_of_carcasses == real_number_of_carcasses)&&(identical(other.receiver_real_number_of_carcasses, receiver_real_number_of_carcasses) || other.receiver_real_number_of_carcasses == receiver_real_number_of_carcasses)&&(identical(other.weight_of_carcasses, weight_of_carcasses) || other.weight_of_carcasses == weight_of_carcasses)&&(identical(other.real_weight_of_carcasses, real_weight_of_carcasses) || other.real_weight_of_carcasses == real_weight_of_carcasses)&&(identical(other.receiver_real_weight_of_carcasses, receiver_real_weight_of_carcasses) || other.receiver_real_weight_of_carcasses == receiver_real_weight_of_carcasses)&&(identical(other.weight_loss_of_carcasses, weight_loss_of_carcasses) || other.weight_loss_of_carcasses == weight_loss_of_carcasses)&&(identical(other.final_registration, final_registration) || other.final_registration == final_registration)&&(identical(other.sell_type, sell_type) || other.sell_type == sell_type)&&(identical(other.product_name, product_name) || other.product_name == product_name)&&(identical(other.seller_type, seller_type) || other.seller_type == seller_type)&&(identical(other.type, type) || other.type == type)&&(identical(other.sale_type, sale_type) || other.sale_type == sale_type)&&(identical(other.allocation_type, allocation_type) || other.allocation_type == allocation_type)&&(identical(other.system_registration_code, system_registration_code) || other.system_registration_code == system_registration_code)&&(identical(other.registration_code, registration_code) || other.registration_code == registration_code)&&(identical(other.amount, amount) || other.amount == amount)&&(identical(other.total_amount, total_amount) || other.total_amount == total_amount)&&(identical(other.total_amount_paid, total_amount_paid) || other.total_amount_paid == total_amount_paid)&&(identical(other.total_amount_remain, total_amount_remain) || other.total_amount_remain == total_amount_remain)&&(identical(other.logged_registration_code, logged_registration_code) || other.logged_registration_code == logged_registration_code)&&(identical(other.state, state) || other.state == state)&&(identical(other.receiver_state, receiver_state) || other.receiver_state == receiver_state)&&(identical(other.allocation_state, allocation_state) || other.allocation_state == allocation_state)&&(identical(other.date, date) || other.date == date)&&(identical(other.role, role) || other.role == role)&&(identical(other.steward_temp_key, steward_temp_key) || other.steward_temp_key == steward_temp_key)&&(identical(other.approved_price_status, approved_price_status) || other.approved_price_status == approved_price_status)&&(identical(other.calculate_status, calculate_status) || other.calculate_status == calculate_status)&&(identical(other.temporary_trash, temporary_trash) || other.temporary_trash == temporary_trash)&&(identical(other.temporary_deleted, temporary_deleted) || other.temporary_deleted == temporary_deleted)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.ware_house, ware_house)&&const DeepCollectionEquality().equals(other.steward_ware_house, steward_ware_house)&&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,const DeepCollectionEquality().hash(kill_house),const DeepCollectionEquality().hash(to_kill_house),steward,const DeepCollectionEquality().hash(to_steward),const DeepCollectionEquality().hash(guilds),to_guilds,const DeepCollectionEquality().hash(to_cold_house),index_weight,date_timestamp,new_state,new_receiver_state,new_allocation_state,key,create_date,modify_date,trash,number_of_carcasses,real_number_of_carcasses,receiver_real_number_of_carcasses,weight_of_carcasses,real_weight_of_carcasses,receiver_real_weight_of_carcasses,weight_loss_of_carcasses,final_registration,sell_type,product_name,seller_type,type,sale_type,allocation_type,system_registration_code,registration_code,amount,total_amount,total_amount_paid,total_amount_remain,logged_registration_code,state,receiver_state,allocation_state,date,role,steward_temp_key,approved_price_status,calculate_status,temporary_trash,temporary_deleted,created_by,modified_by,const DeepCollectionEquality().hash(ware_house),const DeepCollectionEquality().hash(steward_ware_house),const DeepCollectionEquality().hash(car),const DeepCollectionEquality().hash(dispenser)]);

@override
String toString() {
  return 'AllocatedMadeResult(id: $id, product: $product, kill_house: $kill_house, to_kill_house: $to_kill_house, steward: $steward, to_steward: $to_steward, guilds: $guilds, to_guilds: $to_guilds, to_cold_house: $to_cold_house, index_weight: $index_weight, date_timestamp: $date_timestamp, new_state: $new_state, new_receiver_state: $new_receiver_state, new_allocation_state: $new_allocation_state, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, number_of_carcasses: $number_of_carcasses, real_number_of_carcasses: $real_number_of_carcasses, receiver_real_number_of_carcasses: $receiver_real_number_of_carcasses, weight_of_carcasses: $weight_of_carcasses, real_weight_of_carcasses: $real_weight_of_carcasses, receiver_real_weight_of_carcasses: $receiver_real_weight_of_carcasses, weight_loss_of_carcasses: $weight_loss_of_carcasses, final_registration: $final_registration, sell_type: $sell_type, product_name: $product_name, seller_type: $seller_type, type: $type, sale_type: $sale_type, allocation_type: $allocation_type, system_registration_code: $system_registration_code, registration_code: $registration_code, amount: $amount, total_amount: $total_amount, total_amount_paid: $total_amount_paid, total_amount_remain: $total_amount_remain, logged_registration_code: $logged_registration_code, state: $state, receiver_state: $receiver_state, allocation_state: $allocation_state, date: $date, role: $role, steward_temp_key: $steward_temp_key, approved_price_status: $approved_price_status, calculate_status: $calculate_status, temporary_trash: $temporary_trash, temporary_deleted: $temporary_deleted, created_by: $created_by, modified_by: $modified_by, ware_house: $ware_house, steward_ware_house: $steward_ware_house, car: $car, dispenser: $dispenser)';
}


}

/// @nodoc
abstract mixin class _$AllocatedMadeResultCopyWith<$Res> implements $AllocatedMadeResultCopyWith<$Res> {
  factory _$AllocatedMadeResultCopyWith(_AllocatedMadeResult value, $Res Function(_AllocatedMadeResult) _then) = __$AllocatedMadeResultCopyWithImpl;
@override @useResult
$Res call({
 int? id, Product? product, dynamic kill_house, dynamic to_kill_house, Steward? steward, dynamic to_steward, dynamic guilds, Steward? to_guilds, dynamic to_cold_house, int? index_weight, int? date_timestamp, int? new_state, int? new_receiver_state, int? new_allocation_state, String? key, String? create_date, String? modify_date, bool? trash, int? number_of_carcasses, int? real_number_of_carcasses, int? receiver_real_number_of_carcasses, int? weight_of_carcasses, int? real_weight_of_carcasses, int? receiver_real_weight_of_carcasses, int? weight_loss_of_carcasses, bool? final_registration, String? sell_type, String? product_name, String? seller_type, String? type, String? sale_type, String? allocation_type, bool? system_registration_code, int? registration_code, int? amount, int? total_amount, int? total_amount_paid, int? total_amount_remain, String? logged_registration_code, String? state, String? receiver_state, String? allocation_state, String? date, String? role, String? steward_temp_key, bool? approved_price_status, bool? calculate_status, bool? temporary_trash, bool? temporary_deleted, String? created_by, String? modified_by, dynamic ware_house, dynamic steward_ware_house, dynamic car, dynamic dispenser
});


@override $ProductCopyWith<$Res>? get product;@override $StewardCopyWith<$Res>? get steward;@override $StewardCopyWith<$Res>? get to_guilds;

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

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

/// Create a copy of AllocatedMadeResult
/// 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? kill_house = freezed,Object? to_kill_house = freezed,Object? steward = freezed,Object? to_steward = freezed,Object? guilds = freezed,Object? to_guilds = freezed,Object? to_cold_house = freezed,Object? index_weight = freezed,Object? date_timestamp = freezed,Object? new_state = freezed,Object? new_receiver_state = freezed,Object? new_allocation_state = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? number_of_carcasses = freezed,Object? real_number_of_carcasses = freezed,Object? receiver_real_number_of_carcasses = freezed,Object? weight_of_carcasses = freezed,Object? real_weight_of_carcasses = freezed,Object? receiver_real_weight_of_carcasses = freezed,Object? weight_loss_of_carcasses = freezed,Object? final_registration = freezed,Object? sell_type = freezed,Object? product_name = freezed,Object? seller_type = freezed,Object? type = freezed,Object? sale_type = freezed,Object? allocation_type = freezed,Object? system_registration_code = freezed,Object? registration_code = freezed,Object? amount = freezed,Object? total_amount = freezed,Object? total_amount_paid = freezed,Object? total_amount_remain = freezed,Object? logged_registration_code = freezed,Object? state = freezed,Object? receiver_state = freezed,Object? allocation_state = freezed,Object? date = freezed,Object? role = freezed,Object? steward_temp_key = freezed,Object? approved_price_status = freezed,Object? calculate_status = freezed,Object? temporary_trash = freezed,Object? temporary_deleted = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? ware_house = freezed,Object? steward_ware_house = freezed,Object? car = freezed,Object? dispenser = freezed,}) {
  return _then(_AllocatedMadeResult(
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?,kill_house: freezed == kill_house ? _self.kill_house : kill_house // ignore: cast_nullable_to_non_nullable
as dynamic,to_kill_house: freezed == to_kill_house ? _self.to_kill_house : to_kill_house // ignore: cast_nullable_to_non_nullable
as dynamic,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as Steward?,to_steward: freezed == to_steward ? _self.to_steward : to_steward // ignore: cast_nullable_to_non_nullable
as dynamic,guilds: freezed == guilds ? _self.guilds : guilds // ignore: cast_nullable_to_non_nullable
as dynamic,to_guilds: freezed == to_guilds ? _self.to_guilds : to_guilds // ignore: cast_nullable_to_non_nullable
as Steward?,to_cold_house: freezed == to_cold_house ? _self.to_cold_house : to_cold_house // ignore: cast_nullable_to_non_nullable
as dynamic,index_weight: freezed == index_weight ? _self.index_weight : index_weight // ignore: cast_nullable_to_non_nullable
as int?,date_timestamp: freezed == date_timestamp ? _self.date_timestamp : date_timestamp // ignore: cast_nullable_to_non_nullable
as int?,new_state: freezed == new_state ? _self.new_state : new_state // ignore: cast_nullable_to_non_nullable
as int?,new_receiver_state: freezed == new_receiver_state ? _self.new_receiver_state : new_receiver_state // ignore: cast_nullable_to_non_nullable
as int?,new_allocation_state: freezed == new_allocation_state ? _self.new_allocation_state : new_allocation_state // ignore: cast_nullable_to_non_nullable
as int?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,number_of_carcasses: freezed == number_of_carcasses ? _self.number_of_carcasses : number_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,real_number_of_carcasses: freezed == real_number_of_carcasses ? _self.real_number_of_carcasses : real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,receiver_real_number_of_carcasses: freezed == receiver_real_number_of_carcasses ? _self.receiver_real_number_of_carcasses : receiver_real_number_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,weight_of_carcasses: freezed == weight_of_carcasses ? _self.weight_of_carcasses : weight_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,real_weight_of_carcasses: freezed == real_weight_of_carcasses ? _self.real_weight_of_carcasses : real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,receiver_real_weight_of_carcasses: freezed == receiver_real_weight_of_carcasses ? _self.receiver_real_weight_of_carcasses : receiver_real_weight_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,weight_loss_of_carcasses: freezed == weight_loss_of_carcasses ? _self.weight_loss_of_carcasses : weight_loss_of_carcasses // ignore: cast_nullable_to_non_nullable
as int?,final_registration: freezed == final_registration ? _self.final_registration : final_registration // ignore: cast_nullable_to_non_nullable
as bool?,sell_type: freezed == sell_type ? _self.sell_type : sell_type // ignore: cast_nullable_to_non_nullable
as String?,product_name: freezed == product_name ? _self.product_name : product_name // ignore: cast_nullable_to_non_nullable
as String?,seller_type: freezed == seller_type ? _self.seller_type : seller_type // ignore: cast_nullable_to_non_nullable
as String?,type: freezed == type ? _self.type : type // ignore: cast_nullable_to_non_nullable
as String?,sale_type: freezed == sale_type ? _self.sale_type : sale_type // ignore: cast_nullable_to_non_nullable
as String?,allocation_type: freezed == allocation_type ? _self.allocation_type : allocation_type // ignore: cast_nullable_to_non_nullable
as String?,system_registration_code: freezed == system_registration_code ? _self.system_registration_code : system_registration_code // ignore: cast_nullable_to_non_nullable
as bool?,registration_code: freezed == registration_code ? _self.registration_code : registration_code // ignore: cast_nullable_to_non_nullable
as int?,amount: freezed == amount ? _self.amount : amount // ignore: cast_nullable_to_non_nullable
as int?,total_amount: freezed == total_amount ? _self.total_amount : total_amount // ignore: cast_nullable_to_non_nullable
as int?,total_amount_paid: freezed == total_amount_paid ? _self.total_amount_paid : total_amount_paid // ignore: cast_nullable_to_non_nullable
as int?,total_amount_remain: freezed == total_amount_remain ? _self.total_amount_remain : total_amount_remain // ignore: cast_nullable_to_non_nullable
as int?,logged_registration_code: freezed == logged_registration_code ? _self.logged_registration_code : logged_registration_code // ignore: cast_nullable_to_non_nullable
as String?,state: freezed == state ? _self.state : state // ignore: cast_nullable_to_non_nullable
as String?,receiver_state: freezed == receiver_state ? _self.receiver_state : receiver_state // ignore: cast_nullable_to_non_nullable
as String?,allocation_state: freezed == allocation_state ? _self.allocation_state : allocation_state // 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 String?,steward_temp_key: freezed == steward_temp_key ? _self.steward_temp_key : steward_temp_key // ignore: cast_nullable_to_non_nullable
as String?,approved_price_status: freezed == approved_price_status ? _self.approved_price_status : approved_price_status // ignore: cast_nullable_to_non_nullable
as bool?,calculate_status: freezed == calculate_status ? _self.calculate_status : calculate_status // ignore: cast_nullable_to_non_nullable
as bool?,temporary_trash: freezed == temporary_trash ? _self.temporary_trash : temporary_trash // ignore: cast_nullable_to_non_nullable
as bool?,temporary_deleted: freezed == temporary_deleted ? _self.temporary_deleted : temporary_deleted // ignore: cast_nullable_to_non_nullable
as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
as String?,ware_house: freezed == ware_house ? _self.ware_house : ware_house // ignore: cast_nullable_to_non_nullable
as dynamic,steward_ware_house: freezed == steward_ware_house ? _self.steward_ware_house : steward_ware_house // 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 AllocatedMadeResult
/// 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 AllocatedMadeResult
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$StewardCopyWith<$Res>? get steward {
    if (_self.steward == null) {
    return null;
  }

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

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


/// @nodoc
mixin _$Product {

 int? get weight_average;
/// 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.weight_average, weight_average) || other.weight_average == weight_average));
}

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

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


}

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




}
/// @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? weight_average = freezed,}) {
  return _then(_self.copyWith(
weight_average: freezed == weight_average ? _self.weight_average : weight_average // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}

}


/// @nodoc
@JsonSerializable()

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

@override final  int? weight_average;

/// 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.weight_average, weight_average) || other.weight_average == weight_average));
}

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

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


}

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




}
/// @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? weight_average = freezed,}) {
  return _then(_Product(
weight_average: freezed == weight_average ? _self.weight_average : weight_average // ignore: cast_nullable_to_non_nullable
as int?,
  ));
}


}


/// @nodoc
mixin _$Steward {

 int? get id; User? get user; Address? get address; Activity? get guild_area_activity; Activity? get guild_type_activity; List<dynamic>? get kill_house; List<dynamic>? get steward_kill_house; List<dynamic>? get stewards; PosStatus? get get_pos_status; String? get key; String? get create_date; String? get modify_date; bool? get trash; dynamic get user_id_foreign_key; dynamic get address_id_foreign_key; dynamic get user_bank_id_foreign_key; dynamic get wallet_id_foreign_key; dynamic get provincial_government_id_key; dynamic get identity_documents; bool? get active; int? get city_number; String? get city_name; String? get guilds_id; String? get license_number; String? get guilds_name; String? get phone; String? get type_activity; String? get area_activity; int? get province_number; String? get province_name; bool? get steward; bool? get has_pos; dynamic get centers_allocation; dynamic get kill_house_centers_allocation; dynamic get allocation_limit; bool? get limitation_allocation; String? get registerar_role; String? get registerar_fullname; String? get registerar_mobile; bool? get kill_house_register; bool? get steward_register; bool? get guilds_room_register; bool? get pos_company_register; String? get province_accept_state; String? get province_message; String? get condition; String? get description_condition; bool? get steward_active; dynamic get steward_allocation_limit; bool? get steward_limitation_allocation; bool? get license; dynamic get license_form; dynamic get license_file; String? get reviewer_role; String? get reviewer_fullname; String? get reviewer_mobile; String? get checker_message; bool? get final_accept; bool? get temporary_registration; String? get created_by; String? get modified_by; dynamic get user_bank_info; int? get wallet; List<dynamic>? get cars; List<dynamic>? get user_level;
/// Create a copy of Steward
/// with the given fields replaced by the non-null parameter values.
@JsonKey(includeFromJson: false, includeToJson: false)
@pragma('vm:prefer-inline')
$StewardCopyWith<Steward> get copyWith => _$StewardCopyWithImpl<Steward>(this as Steward, _$identity);

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


@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is Steward&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.address, address) || other.address == address)&&(identical(other.guild_area_activity, guild_area_activity) || other.guild_area_activity == guild_area_activity)&&(identical(other.guild_type_activity, guild_type_activity) || other.guild_type_activity == guild_type_activity)&&const DeepCollectionEquality().equals(other.kill_house, kill_house)&&const DeepCollectionEquality().equals(other.steward_kill_house, steward_kill_house)&&const DeepCollectionEquality().equals(other.stewards, stewards)&&(identical(other.get_pos_status, get_pos_status) || other.get_pos_status == get_pos_status)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&const DeepCollectionEquality().equals(other.user_id_foreign_key, user_id_foreign_key)&&const DeepCollectionEquality().equals(other.address_id_foreign_key, address_id_foreign_key)&&const DeepCollectionEquality().equals(other.user_bank_id_foreign_key, user_bank_id_foreign_key)&&const DeepCollectionEquality().equals(other.wallet_id_foreign_key, wallet_id_foreign_key)&&const DeepCollectionEquality().equals(other.provincial_government_id_key, provincial_government_id_key)&&const DeepCollectionEquality().equals(other.identity_documents, identity_documents)&&(identical(other.active, active) || other.active == active)&&(identical(other.city_number, city_number) || other.city_number == city_number)&&(identical(other.city_name, city_name) || other.city_name == city_name)&&(identical(other.guilds_id, guilds_id) || other.guilds_id == guilds_id)&&(identical(other.license_number, license_number) || other.license_number == license_number)&&(identical(other.guilds_name, guilds_name) || other.guilds_name == guilds_name)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.type_activity, type_activity) || other.type_activity == type_activity)&&(identical(other.area_activity, area_activity) || other.area_activity == area_activity)&&(identical(other.province_number, province_number) || other.province_number == province_number)&&(identical(other.province_name, province_name) || other.province_name == province_name)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.has_pos, has_pos) || other.has_pos == has_pos)&&const DeepCollectionEquality().equals(other.centers_allocation, centers_allocation)&&const DeepCollectionEquality().equals(other.kill_house_centers_allocation, kill_house_centers_allocation)&&const DeepCollectionEquality().equals(other.allocation_limit, allocation_limit)&&(identical(other.limitation_allocation, limitation_allocation) || other.limitation_allocation == limitation_allocation)&&(identical(other.registerar_role, registerar_role) || other.registerar_role == registerar_role)&&(identical(other.registerar_fullname, registerar_fullname) || other.registerar_fullname == registerar_fullname)&&(identical(other.registerar_mobile, registerar_mobile) || other.registerar_mobile == registerar_mobile)&&(identical(other.kill_house_register, kill_house_register) || other.kill_house_register == kill_house_register)&&(identical(other.steward_register, steward_register) || other.steward_register == steward_register)&&(identical(other.guilds_room_register, guilds_room_register) || other.guilds_room_register == guilds_room_register)&&(identical(other.pos_company_register, pos_company_register) || other.pos_company_register == pos_company_register)&&(identical(other.province_accept_state, province_accept_state) || other.province_accept_state == province_accept_state)&&(identical(other.province_message, province_message) || other.province_message == province_message)&&(identical(other.condition, condition) || other.condition == condition)&&(identical(other.description_condition, description_condition) || other.description_condition == description_condition)&&(identical(other.steward_active, steward_active) || other.steward_active == steward_active)&&const DeepCollectionEquality().equals(other.steward_allocation_limit, steward_allocation_limit)&&(identical(other.steward_limitation_allocation, steward_limitation_allocation) || other.steward_limitation_allocation == steward_limitation_allocation)&&(identical(other.license, license) || other.license == license)&&const DeepCollectionEquality().equals(other.license_form, license_form)&&const DeepCollectionEquality().equals(other.license_file, license_file)&&(identical(other.reviewer_role, reviewer_role) || other.reviewer_role == reviewer_role)&&(identical(other.reviewer_fullname, reviewer_fullname) || other.reviewer_fullname == reviewer_fullname)&&(identical(other.reviewer_mobile, reviewer_mobile) || other.reviewer_mobile == reviewer_mobile)&&(identical(other.checker_message, checker_message) || other.checker_message == checker_message)&&(identical(other.final_accept, final_accept) || other.final_accept == final_accept)&&(identical(other.temporary_registration, temporary_registration) || other.temporary_registration == temporary_registration)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.user_bank_info, user_bank_info)&&(identical(other.wallet, wallet) || other.wallet == wallet)&&const DeepCollectionEquality().equals(other.cars, cars)&&const DeepCollectionEquality().equals(other.user_level, user_level));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,user,address,guild_area_activity,guild_type_activity,const DeepCollectionEquality().hash(kill_house),const DeepCollectionEquality().hash(steward_kill_house),const DeepCollectionEquality().hash(stewards),get_pos_status,key,create_date,modify_date,trash,const DeepCollectionEquality().hash(user_id_foreign_key),const DeepCollectionEquality().hash(address_id_foreign_key),const DeepCollectionEquality().hash(user_bank_id_foreign_key),const DeepCollectionEquality().hash(wallet_id_foreign_key),const DeepCollectionEquality().hash(provincial_government_id_key),const DeepCollectionEquality().hash(identity_documents),active,city_number,city_name,guilds_id,license_number,guilds_name,phone,type_activity,area_activity,province_number,province_name,steward,has_pos,const DeepCollectionEquality().hash(centers_allocation),const DeepCollectionEquality().hash(kill_house_centers_allocation),const DeepCollectionEquality().hash(allocation_limit),limitation_allocation,registerar_role,registerar_fullname,registerar_mobile,kill_house_register,steward_register,guilds_room_register,pos_company_register,province_accept_state,province_message,condition,description_condition,steward_active,const DeepCollectionEquality().hash(steward_allocation_limit),steward_limitation_allocation,license,const DeepCollectionEquality().hash(license_form),const DeepCollectionEquality().hash(license_file),reviewer_role,reviewer_fullname,reviewer_mobile,checker_message,final_accept,temporary_registration,created_by,modified_by,const DeepCollectionEquality().hash(user_bank_info),wallet,const DeepCollectionEquality().hash(cars),const DeepCollectionEquality().hash(user_level)]);

@override
String toString() {
  return 'Steward(id: $id, user: $user, address: $address, guild_area_activity: $guild_area_activity, guild_type_activity: $guild_type_activity, kill_house: $kill_house, steward_kill_house: $steward_kill_house, stewards: $stewards, get_pos_status: $get_pos_status, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, user_id_foreign_key: $user_id_foreign_key, address_id_foreign_key: $address_id_foreign_key, user_bank_id_foreign_key: $user_bank_id_foreign_key, wallet_id_foreign_key: $wallet_id_foreign_key, provincial_government_id_key: $provincial_government_id_key, identity_documents: $identity_documents, active: $active, city_number: $city_number, city_name: $city_name, guilds_id: $guilds_id, license_number: $license_number, guilds_name: $guilds_name, phone: $phone, type_activity: $type_activity, area_activity: $area_activity, province_number: $province_number, province_name: $province_name, steward: $steward, has_pos: $has_pos, centers_allocation: $centers_allocation, kill_house_centers_allocation: $kill_house_centers_allocation, allocation_limit: $allocation_limit, limitation_allocation: $limitation_allocation, registerar_role: $registerar_role, registerar_fullname: $registerar_fullname, registerar_mobile: $registerar_mobile, kill_house_register: $kill_house_register, steward_register: $steward_register, guilds_room_register: $guilds_room_register, pos_company_register: $pos_company_register, province_accept_state: $province_accept_state, province_message: $province_message, condition: $condition, description_condition: $description_condition, steward_active: $steward_active, steward_allocation_limit: $steward_allocation_limit, steward_limitation_allocation: $steward_limitation_allocation, license: $license, license_form: $license_form, license_file: $license_file, reviewer_role: $reviewer_role, reviewer_fullname: $reviewer_fullname, reviewer_mobile: $reviewer_mobile, checker_message: $checker_message, final_accept: $final_accept, temporary_registration: $temporary_registration, created_by: $created_by, modified_by: $modified_by, user_bank_info: $user_bank_info, wallet: $wallet, cars: $cars, user_level: $user_level)';
}


}

/// @nodoc
abstract mixin class $StewardCopyWith<$Res>  {
  factory $StewardCopyWith(Steward value, $Res Function(Steward) _then) = _$StewardCopyWithImpl;
@useResult
$Res call({
 int? id, User? user, Address? address, Activity? guild_area_activity, Activity? guild_type_activity, List<dynamic>? kill_house, List<dynamic>? steward_kill_house, List<dynamic>? stewards, PosStatus? get_pos_status, String? key, String? create_date, String? modify_date, bool? trash, dynamic user_id_foreign_key, dynamic address_id_foreign_key, dynamic user_bank_id_foreign_key, dynamic wallet_id_foreign_key, dynamic provincial_government_id_key, dynamic identity_documents, bool? active, int? city_number, String? city_name, String? guilds_id, String? license_number, String? guilds_name, String? phone, String? type_activity, String? area_activity, int? province_number, String? province_name, bool? steward, bool? has_pos, dynamic centers_allocation, dynamic kill_house_centers_allocation, dynamic allocation_limit, bool? limitation_allocation, String? registerar_role, String? registerar_fullname, String? registerar_mobile, bool? kill_house_register, bool? steward_register, bool? guilds_room_register, bool? pos_company_register, String? province_accept_state, String? province_message, String? condition, String? description_condition, bool? steward_active, dynamic steward_allocation_limit, bool? steward_limitation_allocation, bool? license, dynamic license_form, dynamic license_file, String? reviewer_role, String? reviewer_fullname, String? reviewer_mobile, String? checker_message, bool? final_accept, bool? temporary_registration, String? created_by, String? modified_by, dynamic user_bank_info, int? wallet, List<dynamic>? cars, List<dynamic>? user_level
});


$UserCopyWith<$Res>? get user;$AddressCopyWith<$Res>? get address;$ActivityCopyWith<$Res>? get guild_area_activity;$ActivityCopyWith<$Res>? get guild_type_activity;$PosStatusCopyWith<$Res>? get get_pos_status;

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

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

/// Create a copy of Steward
/// 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? guild_area_activity = freezed,Object? guild_type_activity = freezed,Object? kill_house = freezed,Object? steward_kill_house = freezed,Object? stewards = freezed,Object? get_pos_status = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? user_id_foreign_key = freezed,Object? address_id_foreign_key = freezed,Object? user_bank_id_foreign_key = freezed,Object? wallet_id_foreign_key = freezed,Object? provincial_government_id_key = freezed,Object? identity_documents = freezed,Object? active = freezed,Object? city_number = freezed,Object? city_name = freezed,Object? guilds_id = freezed,Object? license_number = freezed,Object? guilds_name = freezed,Object? phone = freezed,Object? type_activity = freezed,Object? area_activity = freezed,Object? province_number = freezed,Object? province_name = freezed,Object? steward = freezed,Object? has_pos = freezed,Object? centers_allocation = freezed,Object? kill_house_centers_allocation = freezed,Object? allocation_limit = freezed,Object? limitation_allocation = freezed,Object? registerar_role = freezed,Object? registerar_fullname = freezed,Object? registerar_mobile = freezed,Object? kill_house_register = freezed,Object? steward_register = freezed,Object? guilds_room_register = freezed,Object? pos_company_register = freezed,Object? province_accept_state = freezed,Object? province_message = freezed,Object? condition = freezed,Object? description_condition = freezed,Object? steward_active = freezed,Object? steward_allocation_limit = freezed,Object? steward_limitation_allocation = freezed,Object? license = freezed,Object? license_form = freezed,Object? license_file = freezed,Object? reviewer_role = freezed,Object? reviewer_fullname = freezed,Object? reviewer_mobile = freezed,Object? checker_message = freezed,Object? final_accept = freezed,Object? temporary_registration = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? user_bank_info = freezed,Object? wallet = freezed,Object? cars = freezed,Object? user_level = freezed,}) {
  return _then(_self.copyWith(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
as User?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as Address?,guild_area_activity: freezed == guild_area_activity ? _self.guild_area_activity : guild_area_activity // ignore: cast_nullable_to_non_nullable
as Activity?,guild_type_activity: freezed == guild_type_activity ? _self.guild_type_activity : guild_type_activity // ignore: cast_nullable_to_non_nullable
as Activity?,kill_house: freezed == kill_house ? _self.kill_house : kill_house // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,steward_kill_house: freezed == steward_kill_house ? _self.steward_kill_house : steward_kill_house // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,stewards: freezed == stewards ? _self.stewards : stewards // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,get_pos_status: freezed == get_pos_status ? _self.get_pos_status : get_pos_status // ignore: cast_nullable_to_non_nullable
as PosStatus?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,user_id_foreign_key: freezed == user_id_foreign_key ? _self.user_id_foreign_key : user_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,address_id_foreign_key: freezed == address_id_foreign_key ? _self.address_id_foreign_key : address_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,user_bank_id_foreign_key: freezed == user_bank_id_foreign_key ? _self.user_bank_id_foreign_key : user_bank_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,wallet_id_foreign_key: freezed == wallet_id_foreign_key ? _self.wallet_id_foreign_key : wallet_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,provincial_government_id_key: freezed == provincial_government_id_key ? _self.provincial_government_id_key : provincial_government_id_key // ignore: cast_nullable_to_non_nullable
as dynamic,identity_documents: freezed == identity_documents ? _self.identity_documents : identity_documents // ignore: cast_nullable_to_non_nullable
as dynamic,active: freezed == active ? _self.active : active // ignore: cast_nullable_to_non_nullable
as bool?,city_number: freezed == city_number ? _self.city_number : city_number // ignore: cast_nullable_to_non_nullable
as int?,city_name: freezed == city_name ? _self.city_name : city_name // ignore: cast_nullable_to_non_nullable
as String?,guilds_id: freezed == guilds_id ? _self.guilds_id : guilds_id // ignore: cast_nullable_to_non_nullable
as String?,license_number: freezed == license_number ? _self.license_number : license_number // ignore: cast_nullable_to_non_nullable
as String?,guilds_name: freezed == guilds_name ? _self.guilds_name : guilds_name // ignore: cast_nullable_to_non_nullable
as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
as String?,type_activity: freezed == type_activity ? _self.type_activity : type_activity // ignore: cast_nullable_to_non_nullable
as String?,area_activity: freezed == area_activity ? _self.area_activity : area_activity // ignore: cast_nullable_to_non_nullable
as String?,province_number: freezed == province_number ? _self.province_number : province_number // ignore: cast_nullable_to_non_nullable
as int?,province_name: freezed == province_name ? _self.province_name : province_name // ignore: cast_nullable_to_non_nullable
as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as bool?,has_pos: freezed == has_pos ? _self.has_pos : has_pos // ignore: cast_nullable_to_non_nullable
as bool?,centers_allocation: freezed == centers_allocation ? _self.centers_allocation : centers_allocation // ignore: cast_nullable_to_non_nullable
as dynamic,kill_house_centers_allocation: freezed == kill_house_centers_allocation ? _self.kill_house_centers_allocation : kill_house_centers_allocation // ignore: cast_nullable_to_non_nullable
as dynamic,allocation_limit: freezed == allocation_limit ? _self.allocation_limit : allocation_limit // ignore: cast_nullable_to_non_nullable
as dynamic,limitation_allocation: freezed == limitation_allocation ? _self.limitation_allocation : limitation_allocation // ignore: cast_nullable_to_non_nullable
as bool?,registerar_role: freezed == registerar_role ? _self.registerar_role : registerar_role // ignore: cast_nullable_to_non_nullable
as String?,registerar_fullname: freezed == registerar_fullname ? _self.registerar_fullname : registerar_fullname // ignore: cast_nullable_to_non_nullable
as String?,registerar_mobile: freezed == registerar_mobile ? _self.registerar_mobile : registerar_mobile // ignore: cast_nullable_to_non_nullable
as String?,kill_house_register: freezed == kill_house_register ? _self.kill_house_register : kill_house_register // ignore: cast_nullable_to_non_nullable
as bool?,steward_register: freezed == steward_register ? _self.steward_register : steward_register // ignore: cast_nullable_to_non_nullable
as bool?,guilds_room_register: freezed == guilds_room_register ? _self.guilds_room_register : guilds_room_register // ignore: cast_nullable_to_non_nullable
as bool?,pos_company_register: freezed == pos_company_register ? _self.pos_company_register : pos_company_register // ignore: cast_nullable_to_non_nullable
as bool?,province_accept_state: freezed == province_accept_state ? _self.province_accept_state : province_accept_state // ignore: cast_nullable_to_non_nullable
as String?,province_message: freezed == province_message ? _self.province_message : province_message // ignore: cast_nullable_to_non_nullable
as String?,condition: freezed == condition ? _self.condition : condition // ignore: cast_nullable_to_non_nullable
as String?,description_condition: freezed == description_condition ? _self.description_condition : description_condition // ignore: cast_nullable_to_non_nullable
as String?,steward_active: freezed == steward_active ? _self.steward_active : steward_active // ignore: cast_nullable_to_non_nullable
as bool?,steward_allocation_limit: freezed == steward_allocation_limit ? _self.steward_allocation_limit : steward_allocation_limit // ignore: cast_nullable_to_non_nullable
as dynamic,steward_limitation_allocation: freezed == steward_limitation_allocation ? _self.steward_limitation_allocation : steward_limitation_allocation // ignore: cast_nullable_to_non_nullable
as bool?,license: freezed == license ? _self.license : license // ignore: cast_nullable_to_non_nullable
as bool?,license_form: freezed == license_form ? _self.license_form : license_form // ignore: cast_nullable_to_non_nullable
as dynamic,license_file: freezed == license_file ? _self.license_file : license_file // ignore: cast_nullable_to_non_nullable
as dynamic,reviewer_role: freezed == reviewer_role ? _self.reviewer_role : reviewer_role // ignore: cast_nullable_to_non_nullable
as String?,reviewer_fullname: freezed == reviewer_fullname ? _self.reviewer_fullname : reviewer_fullname // ignore: cast_nullable_to_non_nullable
as String?,reviewer_mobile: freezed == reviewer_mobile ? _self.reviewer_mobile : reviewer_mobile // ignore: cast_nullable_to_non_nullable
as String?,checker_message: freezed == checker_message ? _self.checker_message : checker_message // ignore: cast_nullable_to_non_nullable
as String?,final_accept: freezed == final_accept ? _self.final_accept : final_accept // ignore: cast_nullable_to_non_nullable
as bool?,temporary_registration: freezed == temporary_registration ? _self.temporary_registration : temporary_registration // ignore: cast_nullable_to_non_nullable
as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
as String?,user_bank_info: freezed == user_bank_info ? _self.user_bank_info : user_bank_info // 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>?,user_level: freezed == user_level ? _self.user_level : user_level // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,
  ));
}
/// Create a copy of Steward
/// 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));
  });
}/// Create a copy of Steward
/// 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 Steward
/// with the given fields replaced by the non-null parameter values.
@override
@pragma('vm:prefer-inline')
$ActivityCopyWith<$Res>? get guild_area_activity {
    if (_self.guild_area_activity == null) {
    return null;
  }

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

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

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


/// @nodoc
@JsonSerializable()

class _Steward implements Steward {
   _Steward({this.id, this.user, this.address, this.guild_area_activity, this.guild_type_activity, final  List<dynamic>? kill_house, final  List<dynamic>? steward_kill_house, final  List<dynamic>? stewards, this.get_pos_status, this.key, this.create_date, this.modify_date, this.trash, this.user_id_foreign_key, this.address_id_foreign_key, this.user_bank_id_foreign_key, this.wallet_id_foreign_key, this.provincial_government_id_key, this.identity_documents, this.active, this.city_number, this.city_name, this.guilds_id, this.license_number, this.guilds_name, this.phone, this.type_activity, this.area_activity, this.province_number, this.province_name, this.steward, this.has_pos, this.centers_allocation, this.kill_house_centers_allocation, this.allocation_limit, this.limitation_allocation, this.registerar_role, this.registerar_fullname, this.registerar_mobile, this.kill_house_register, this.steward_register, this.guilds_room_register, this.pos_company_register, this.province_accept_state, this.province_message, this.condition, this.description_condition, this.steward_active, this.steward_allocation_limit, this.steward_limitation_allocation, this.license, this.license_form, this.license_file, this.reviewer_role, this.reviewer_fullname, this.reviewer_mobile, this.checker_message, this.final_accept, this.temporary_registration, this.created_by, this.modified_by, this.user_bank_info, this.wallet, final  List<dynamic>? cars, final  List<dynamic>? user_level}): _kill_house = kill_house,_steward_kill_house = steward_kill_house,_stewards = stewards,_cars = cars,_user_level = user_level;
  factory _Steward.fromJson(Map<String, dynamic> json) => _$StewardFromJson(json);

@override final  int? id;
@override final  User? user;
@override final  Address? address;
@override final  Activity? guild_area_activity;
@override final  Activity? guild_type_activity;
 final  List<dynamic>? _kill_house;
@override List<dynamic>? get kill_house {
  final value = _kill_house;
  if (value == null) return null;
  if (_kill_house is EqualUnmodifiableListView) return _kill_house;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}

 final  List<dynamic>? _steward_kill_house;
@override List<dynamic>? get steward_kill_house {
  final value = _steward_kill_house;
  if (value == null) return null;
  if (_steward_kill_house is EqualUnmodifiableListView) return _steward_kill_house;
  // 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? get_pos_status;
@override final  String? key;
@override final  String? create_date;
@override final  String? modify_date;
@override final  bool? trash;
@override final  dynamic user_id_foreign_key;
@override final  dynamic address_id_foreign_key;
@override final  dynamic user_bank_id_foreign_key;
@override final  dynamic wallet_id_foreign_key;
@override final  dynamic provincial_government_id_key;
@override final  dynamic identity_documents;
@override final  bool? active;
@override final  int? city_number;
@override final  String? city_name;
@override final  String? guilds_id;
@override final  String? license_number;
@override final  String? guilds_name;
@override final  String? phone;
@override final  String? type_activity;
@override final  String? area_activity;
@override final  int? province_number;
@override final  String? province_name;
@override final  bool? steward;
@override final  bool? has_pos;
@override final  dynamic centers_allocation;
@override final  dynamic kill_house_centers_allocation;
@override final  dynamic allocation_limit;
@override final  bool? limitation_allocation;
@override final  String? registerar_role;
@override final  String? registerar_fullname;
@override final  String? registerar_mobile;
@override final  bool? kill_house_register;
@override final  bool? steward_register;
@override final  bool? guilds_room_register;
@override final  bool? pos_company_register;
@override final  String? province_accept_state;
@override final  String? province_message;
@override final  String? condition;
@override final  String? description_condition;
@override final  bool? steward_active;
@override final  dynamic steward_allocation_limit;
@override final  bool? steward_limitation_allocation;
@override final  bool? license;
@override final  dynamic license_form;
@override final  dynamic license_file;
@override final  String? reviewer_role;
@override final  String? reviewer_fullname;
@override final  String? reviewer_mobile;
@override final  String? checker_message;
@override final  bool? final_accept;
@override final  bool? temporary_registration;
@override final  String? created_by;
@override final  String? modified_by;
@override final  dynamic user_bank_info;
@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>? _user_level;
@override List<dynamic>? get user_level {
  final value = _user_level;
  if (value == null) return null;
  if (_user_level is EqualUnmodifiableListView) return _user_level;
  // ignore: implicit_dynamic_type
  return EqualUnmodifiableListView(value);
}


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

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

@override
bool operator ==(Object other) {
  return identical(this, other) || (other.runtimeType == runtimeType&&other is _Steward&&(identical(other.id, id) || other.id == id)&&(identical(other.user, user) || other.user == user)&&(identical(other.address, address) || other.address == address)&&(identical(other.guild_area_activity, guild_area_activity) || other.guild_area_activity == guild_area_activity)&&(identical(other.guild_type_activity, guild_type_activity) || other.guild_type_activity == guild_type_activity)&&const DeepCollectionEquality().equals(other._kill_house, _kill_house)&&const DeepCollectionEquality().equals(other._steward_kill_house, _steward_kill_house)&&const DeepCollectionEquality().equals(other._stewards, _stewards)&&(identical(other.get_pos_status, get_pos_status) || other.get_pos_status == get_pos_status)&&(identical(other.key, key) || other.key == key)&&(identical(other.create_date, create_date) || other.create_date == create_date)&&(identical(other.modify_date, modify_date) || other.modify_date == modify_date)&&(identical(other.trash, trash) || other.trash == trash)&&const DeepCollectionEquality().equals(other.user_id_foreign_key, user_id_foreign_key)&&const DeepCollectionEquality().equals(other.address_id_foreign_key, address_id_foreign_key)&&const DeepCollectionEquality().equals(other.user_bank_id_foreign_key, user_bank_id_foreign_key)&&const DeepCollectionEquality().equals(other.wallet_id_foreign_key, wallet_id_foreign_key)&&const DeepCollectionEquality().equals(other.provincial_government_id_key, provincial_government_id_key)&&const DeepCollectionEquality().equals(other.identity_documents, identity_documents)&&(identical(other.active, active) || other.active == active)&&(identical(other.city_number, city_number) || other.city_number == city_number)&&(identical(other.city_name, city_name) || other.city_name == city_name)&&(identical(other.guilds_id, guilds_id) || other.guilds_id == guilds_id)&&(identical(other.license_number, license_number) || other.license_number == license_number)&&(identical(other.guilds_name, guilds_name) || other.guilds_name == guilds_name)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.type_activity, type_activity) || other.type_activity == type_activity)&&(identical(other.area_activity, area_activity) || other.area_activity == area_activity)&&(identical(other.province_number, province_number) || other.province_number == province_number)&&(identical(other.province_name, province_name) || other.province_name == province_name)&&(identical(other.steward, steward) || other.steward == steward)&&(identical(other.has_pos, has_pos) || other.has_pos == has_pos)&&const DeepCollectionEquality().equals(other.centers_allocation, centers_allocation)&&const DeepCollectionEquality().equals(other.kill_house_centers_allocation, kill_house_centers_allocation)&&const DeepCollectionEquality().equals(other.allocation_limit, allocation_limit)&&(identical(other.limitation_allocation, limitation_allocation) || other.limitation_allocation == limitation_allocation)&&(identical(other.registerar_role, registerar_role) || other.registerar_role == registerar_role)&&(identical(other.registerar_fullname, registerar_fullname) || other.registerar_fullname == registerar_fullname)&&(identical(other.registerar_mobile, registerar_mobile) || other.registerar_mobile == registerar_mobile)&&(identical(other.kill_house_register, kill_house_register) || other.kill_house_register == kill_house_register)&&(identical(other.steward_register, steward_register) || other.steward_register == steward_register)&&(identical(other.guilds_room_register, guilds_room_register) || other.guilds_room_register == guilds_room_register)&&(identical(other.pos_company_register, pos_company_register) || other.pos_company_register == pos_company_register)&&(identical(other.province_accept_state, province_accept_state) || other.province_accept_state == province_accept_state)&&(identical(other.province_message, province_message) || other.province_message == province_message)&&(identical(other.condition, condition) || other.condition == condition)&&(identical(other.description_condition, description_condition) || other.description_condition == description_condition)&&(identical(other.steward_active, steward_active) || other.steward_active == steward_active)&&const DeepCollectionEquality().equals(other.steward_allocation_limit, steward_allocation_limit)&&(identical(other.steward_limitation_allocation, steward_limitation_allocation) || other.steward_limitation_allocation == steward_limitation_allocation)&&(identical(other.license, license) || other.license == license)&&const DeepCollectionEquality().equals(other.license_form, license_form)&&const DeepCollectionEquality().equals(other.license_file, license_file)&&(identical(other.reviewer_role, reviewer_role) || other.reviewer_role == reviewer_role)&&(identical(other.reviewer_fullname, reviewer_fullname) || other.reviewer_fullname == reviewer_fullname)&&(identical(other.reviewer_mobile, reviewer_mobile) || other.reviewer_mobile == reviewer_mobile)&&(identical(other.checker_message, checker_message) || other.checker_message == checker_message)&&(identical(other.final_accept, final_accept) || other.final_accept == final_accept)&&(identical(other.temporary_registration, temporary_registration) || other.temporary_registration == temporary_registration)&&(identical(other.created_by, created_by) || other.created_by == created_by)&&(identical(other.modified_by, modified_by) || other.modified_by == modified_by)&&const DeepCollectionEquality().equals(other.user_bank_info, user_bank_info)&&(identical(other.wallet, wallet) || other.wallet == wallet)&&const DeepCollectionEquality().equals(other._cars, _cars)&&const DeepCollectionEquality().equals(other._user_level, _user_level));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hashAll([runtimeType,id,user,address,guild_area_activity,guild_type_activity,const DeepCollectionEquality().hash(_kill_house),const DeepCollectionEquality().hash(_steward_kill_house),const DeepCollectionEquality().hash(_stewards),get_pos_status,key,create_date,modify_date,trash,const DeepCollectionEquality().hash(user_id_foreign_key),const DeepCollectionEquality().hash(address_id_foreign_key),const DeepCollectionEquality().hash(user_bank_id_foreign_key),const DeepCollectionEquality().hash(wallet_id_foreign_key),const DeepCollectionEquality().hash(provincial_government_id_key),const DeepCollectionEquality().hash(identity_documents),active,city_number,city_name,guilds_id,license_number,guilds_name,phone,type_activity,area_activity,province_number,province_name,steward,has_pos,const DeepCollectionEquality().hash(centers_allocation),const DeepCollectionEquality().hash(kill_house_centers_allocation),const DeepCollectionEquality().hash(allocation_limit),limitation_allocation,registerar_role,registerar_fullname,registerar_mobile,kill_house_register,steward_register,guilds_room_register,pos_company_register,province_accept_state,province_message,condition,description_condition,steward_active,const DeepCollectionEquality().hash(steward_allocation_limit),steward_limitation_allocation,license,const DeepCollectionEquality().hash(license_form),const DeepCollectionEquality().hash(license_file),reviewer_role,reviewer_fullname,reviewer_mobile,checker_message,final_accept,temporary_registration,created_by,modified_by,const DeepCollectionEquality().hash(user_bank_info),wallet,const DeepCollectionEquality().hash(_cars),const DeepCollectionEquality().hash(_user_level)]);

@override
String toString() {
  return 'Steward(id: $id, user: $user, address: $address, guild_area_activity: $guild_area_activity, guild_type_activity: $guild_type_activity, kill_house: $kill_house, steward_kill_house: $steward_kill_house, stewards: $stewards, get_pos_status: $get_pos_status, key: $key, create_date: $create_date, modify_date: $modify_date, trash: $trash, user_id_foreign_key: $user_id_foreign_key, address_id_foreign_key: $address_id_foreign_key, user_bank_id_foreign_key: $user_bank_id_foreign_key, wallet_id_foreign_key: $wallet_id_foreign_key, provincial_government_id_key: $provincial_government_id_key, identity_documents: $identity_documents, active: $active, city_number: $city_number, city_name: $city_name, guilds_id: $guilds_id, license_number: $license_number, guilds_name: $guilds_name, phone: $phone, type_activity: $type_activity, area_activity: $area_activity, province_number: $province_number, province_name: $province_name, steward: $steward, has_pos: $has_pos, centers_allocation: $centers_allocation, kill_house_centers_allocation: $kill_house_centers_allocation, allocation_limit: $allocation_limit, limitation_allocation: $limitation_allocation, registerar_role: $registerar_role, registerar_fullname: $registerar_fullname, registerar_mobile: $registerar_mobile, kill_house_register: $kill_house_register, steward_register: $steward_register, guilds_room_register: $guilds_room_register, pos_company_register: $pos_company_register, province_accept_state: $province_accept_state, province_message: $province_message, condition: $condition, description_condition: $description_condition, steward_active: $steward_active, steward_allocation_limit: $steward_allocation_limit, steward_limitation_allocation: $steward_limitation_allocation, license: $license, license_form: $license_form, license_file: $license_file, reviewer_role: $reviewer_role, reviewer_fullname: $reviewer_fullname, reviewer_mobile: $reviewer_mobile, checker_message: $checker_message, final_accept: $final_accept, temporary_registration: $temporary_registration, created_by: $created_by, modified_by: $modified_by, user_bank_info: $user_bank_info, wallet: $wallet, cars: $cars, user_level: $user_level)';
}


}

/// @nodoc
abstract mixin class _$StewardCopyWith<$Res> implements $StewardCopyWith<$Res> {
  factory _$StewardCopyWith(_Steward value, $Res Function(_Steward) _then) = __$StewardCopyWithImpl;
@override @useResult
$Res call({
 int? id, User? user, Address? address, Activity? guild_area_activity, Activity? guild_type_activity, List<dynamic>? kill_house, List<dynamic>? steward_kill_house, List<dynamic>? stewards, PosStatus? get_pos_status, String? key, String? create_date, String? modify_date, bool? trash, dynamic user_id_foreign_key, dynamic address_id_foreign_key, dynamic user_bank_id_foreign_key, dynamic wallet_id_foreign_key, dynamic provincial_government_id_key, dynamic identity_documents, bool? active, int? city_number, String? city_name, String? guilds_id, String? license_number, String? guilds_name, String? phone, String? type_activity, String? area_activity, int? province_number, String? province_name, bool? steward, bool? has_pos, dynamic centers_allocation, dynamic kill_house_centers_allocation, dynamic allocation_limit, bool? limitation_allocation, String? registerar_role, String? registerar_fullname, String? registerar_mobile, bool? kill_house_register, bool? steward_register, bool? guilds_room_register, bool? pos_company_register, String? province_accept_state, String? province_message, String? condition, String? description_condition, bool? steward_active, dynamic steward_allocation_limit, bool? steward_limitation_allocation, bool? license, dynamic license_form, dynamic license_file, String? reviewer_role, String? reviewer_fullname, String? reviewer_mobile, String? checker_message, bool? final_accept, bool? temporary_registration, String? created_by, String? modified_by, dynamic user_bank_info, int? wallet, List<dynamic>? cars, List<dynamic>? user_level
});


@override $UserCopyWith<$Res>? get user;@override $AddressCopyWith<$Res>? get address;@override $ActivityCopyWith<$Res>? get guild_area_activity;@override $ActivityCopyWith<$Res>? get guild_type_activity;@override $PosStatusCopyWith<$Res>? get get_pos_status;

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

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

/// Create a copy of Steward
/// 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? guild_area_activity = freezed,Object? guild_type_activity = freezed,Object? kill_house = freezed,Object? steward_kill_house = freezed,Object? stewards = freezed,Object? get_pos_status = freezed,Object? key = freezed,Object? create_date = freezed,Object? modify_date = freezed,Object? trash = freezed,Object? user_id_foreign_key = freezed,Object? address_id_foreign_key = freezed,Object? user_bank_id_foreign_key = freezed,Object? wallet_id_foreign_key = freezed,Object? provincial_government_id_key = freezed,Object? identity_documents = freezed,Object? active = freezed,Object? city_number = freezed,Object? city_name = freezed,Object? guilds_id = freezed,Object? license_number = freezed,Object? guilds_name = freezed,Object? phone = freezed,Object? type_activity = freezed,Object? area_activity = freezed,Object? province_number = freezed,Object? province_name = freezed,Object? steward = freezed,Object? has_pos = freezed,Object? centers_allocation = freezed,Object? kill_house_centers_allocation = freezed,Object? allocation_limit = freezed,Object? limitation_allocation = freezed,Object? registerar_role = freezed,Object? registerar_fullname = freezed,Object? registerar_mobile = freezed,Object? kill_house_register = freezed,Object? steward_register = freezed,Object? guilds_room_register = freezed,Object? pos_company_register = freezed,Object? province_accept_state = freezed,Object? province_message = freezed,Object? condition = freezed,Object? description_condition = freezed,Object? steward_active = freezed,Object? steward_allocation_limit = freezed,Object? steward_limitation_allocation = freezed,Object? license = freezed,Object? license_form = freezed,Object? license_file = freezed,Object? reviewer_role = freezed,Object? reviewer_fullname = freezed,Object? reviewer_mobile = freezed,Object? checker_message = freezed,Object? final_accept = freezed,Object? temporary_registration = freezed,Object? created_by = freezed,Object? modified_by = freezed,Object? user_bank_info = freezed,Object? wallet = freezed,Object? cars = freezed,Object? user_level = freezed,}) {
  return _then(_Steward(
id: freezed == id ? _self.id : id // ignore: cast_nullable_to_non_nullable
as int?,user: freezed == user ? _self.user : user // ignore: cast_nullable_to_non_nullable
as User?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as Address?,guild_area_activity: freezed == guild_area_activity ? _self.guild_area_activity : guild_area_activity // ignore: cast_nullable_to_non_nullable
as Activity?,guild_type_activity: freezed == guild_type_activity ? _self.guild_type_activity : guild_type_activity // ignore: cast_nullable_to_non_nullable
as Activity?,kill_house: freezed == kill_house ? _self._kill_house : kill_house // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,steward_kill_house: freezed == steward_kill_house ? _self._steward_kill_house : steward_kill_house // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,stewards: freezed == stewards ? _self._stewards : stewards // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,get_pos_status: freezed == get_pos_status ? _self.get_pos_status : get_pos_status // ignore: cast_nullable_to_non_nullable
as PosStatus?,key: freezed == key ? _self.key : key // ignore: cast_nullable_to_non_nullable
as String?,create_date: freezed == create_date ? _self.create_date : create_date // ignore: cast_nullable_to_non_nullable
as String?,modify_date: freezed == modify_date ? _self.modify_date : modify_date // ignore: cast_nullable_to_non_nullable
as String?,trash: freezed == trash ? _self.trash : trash // ignore: cast_nullable_to_non_nullable
as bool?,user_id_foreign_key: freezed == user_id_foreign_key ? _self.user_id_foreign_key : user_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,address_id_foreign_key: freezed == address_id_foreign_key ? _self.address_id_foreign_key : address_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,user_bank_id_foreign_key: freezed == user_bank_id_foreign_key ? _self.user_bank_id_foreign_key : user_bank_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,wallet_id_foreign_key: freezed == wallet_id_foreign_key ? _self.wallet_id_foreign_key : wallet_id_foreign_key // ignore: cast_nullable_to_non_nullable
as dynamic,provincial_government_id_key: freezed == provincial_government_id_key ? _self.provincial_government_id_key : provincial_government_id_key // ignore: cast_nullable_to_non_nullable
as dynamic,identity_documents: freezed == identity_documents ? _self.identity_documents : identity_documents // ignore: cast_nullable_to_non_nullable
as dynamic,active: freezed == active ? _self.active : active // ignore: cast_nullable_to_non_nullable
as bool?,city_number: freezed == city_number ? _self.city_number : city_number // ignore: cast_nullable_to_non_nullable
as int?,city_name: freezed == city_name ? _self.city_name : city_name // ignore: cast_nullable_to_non_nullable
as String?,guilds_id: freezed == guilds_id ? _self.guilds_id : guilds_id // ignore: cast_nullable_to_non_nullable
as String?,license_number: freezed == license_number ? _self.license_number : license_number // ignore: cast_nullable_to_non_nullable
as String?,guilds_name: freezed == guilds_name ? _self.guilds_name : guilds_name // ignore: cast_nullable_to_non_nullable
as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable
as String?,type_activity: freezed == type_activity ? _self.type_activity : type_activity // ignore: cast_nullable_to_non_nullable
as String?,area_activity: freezed == area_activity ? _self.area_activity : area_activity // ignore: cast_nullable_to_non_nullable
as String?,province_number: freezed == province_number ? _self.province_number : province_number // ignore: cast_nullable_to_non_nullable
as int?,province_name: freezed == province_name ? _self.province_name : province_name // ignore: cast_nullable_to_non_nullable
as String?,steward: freezed == steward ? _self.steward : steward // ignore: cast_nullable_to_non_nullable
as bool?,has_pos: freezed == has_pos ? _self.has_pos : has_pos // ignore: cast_nullable_to_non_nullable
as bool?,centers_allocation: freezed == centers_allocation ? _self.centers_allocation : centers_allocation // ignore: cast_nullable_to_non_nullable
as dynamic,kill_house_centers_allocation: freezed == kill_house_centers_allocation ? _self.kill_house_centers_allocation : kill_house_centers_allocation // ignore: cast_nullable_to_non_nullable
as dynamic,allocation_limit: freezed == allocation_limit ? _self.allocation_limit : allocation_limit // ignore: cast_nullable_to_non_nullable
as dynamic,limitation_allocation: freezed == limitation_allocation ? _self.limitation_allocation : limitation_allocation // ignore: cast_nullable_to_non_nullable
as bool?,registerar_role: freezed == registerar_role ? _self.registerar_role : registerar_role // ignore: cast_nullable_to_non_nullable
as String?,registerar_fullname: freezed == registerar_fullname ? _self.registerar_fullname : registerar_fullname // ignore: cast_nullable_to_non_nullable
as String?,registerar_mobile: freezed == registerar_mobile ? _self.registerar_mobile : registerar_mobile // ignore: cast_nullable_to_non_nullable
as String?,kill_house_register: freezed == kill_house_register ? _self.kill_house_register : kill_house_register // ignore: cast_nullable_to_non_nullable
as bool?,steward_register: freezed == steward_register ? _self.steward_register : steward_register // ignore: cast_nullable_to_non_nullable
as bool?,guilds_room_register: freezed == guilds_room_register ? _self.guilds_room_register : guilds_room_register // ignore: cast_nullable_to_non_nullable
as bool?,pos_company_register: freezed == pos_company_register ? _self.pos_company_register : pos_company_register // ignore: cast_nullable_to_non_nullable
as bool?,province_accept_state: freezed == province_accept_state ? _self.province_accept_state : province_accept_state // ignore: cast_nullable_to_non_nullable
as String?,province_message: freezed == province_message ? _self.province_message : province_message // ignore: cast_nullable_to_non_nullable
as String?,condition: freezed == condition ? _self.condition : condition // ignore: cast_nullable_to_non_nullable
as String?,description_condition: freezed == description_condition ? _self.description_condition : description_condition // ignore: cast_nullable_to_non_nullable
as String?,steward_active: freezed == steward_active ? _self.steward_active : steward_active // ignore: cast_nullable_to_non_nullable
as bool?,steward_allocation_limit: freezed == steward_allocation_limit ? _self.steward_allocation_limit : steward_allocation_limit // ignore: cast_nullable_to_non_nullable
as dynamic,steward_limitation_allocation: freezed == steward_limitation_allocation ? _self.steward_limitation_allocation : steward_limitation_allocation // ignore: cast_nullable_to_non_nullable
as bool?,license: freezed == license ? _self.license : license // ignore: cast_nullable_to_non_nullable
as bool?,license_form: freezed == license_form ? _self.license_form : license_form // ignore: cast_nullable_to_non_nullable
as dynamic,license_file: freezed == license_file ? _self.license_file : license_file // ignore: cast_nullable_to_non_nullable
as dynamic,reviewer_role: freezed == reviewer_role ? _self.reviewer_role : reviewer_role // ignore: cast_nullable_to_non_nullable
as String?,reviewer_fullname: freezed == reviewer_fullname ? _self.reviewer_fullname : reviewer_fullname // ignore: cast_nullable_to_non_nullable
as String?,reviewer_mobile: freezed == reviewer_mobile ? _self.reviewer_mobile : reviewer_mobile // ignore: cast_nullable_to_non_nullable
as String?,checker_message: freezed == checker_message ? _self.checker_message : checker_message // ignore: cast_nullable_to_non_nullable
as String?,final_accept: freezed == final_accept ? _self.final_accept : final_accept // ignore: cast_nullable_to_non_nullable
as bool?,temporary_registration: freezed == temporary_registration ? _self.temporary_registration : temporary_registration // ignore: cast_nullable_to_non_nullable
as bool?,created_by: freezed == created_by ? _self.created_by : created_by // ignore: cast_nullable_to_non_nullable
as String?,modified_by: freezed == modified_by ? _self.modified_by : modified_by // ignore: cast_nullable_to_non_nullable
as String?,user_bank_info: freezed == user_bank_info ? _self.user_bank_info : user_bank_info // 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>?,user_level: freezed == user_level ? _self._user_level : user_level // ignore: cast_nullable_to_non_nullable
as List<dynamic>?,
  ));
}

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

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

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

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


/// @nodoc
mixin _$User {

 String? get fullname; String? get first_name; String? get last_name; String? get mobile; String? get national_id; String? get city;
/// 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.first_name, first_name) || other.first_name == first_name)&&(identical(other.last_name, last_name) || other.last_name == last_name)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.national_id, national_id) || other.national_id == national_id)&&(identical(other.city, city) || other.city == city));
}

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

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


}

/// @nodoc
abstract mixin class $UserCopyWith<$Res>  {
  factory $UserCopyWith(User value, $Res Function(User) _then) = _$UserCopyWithImpl;
@useResult
$Res call({
 String? fullname, String? first_name, String? last_name, String? mobile, String? national_id, String? 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? first_name = freezed,Object? last_name = freezed,Object? mobile = freezed,Object? national_id = freezed,Object? city = freezed,}) {
  return _then(_self.copyWith(
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,first_name: freezed == first_name ? _self.first_name : first_name // ignore: cast_nullable_to_non_nullable
as String?,last_name: freezed == last_name ? _self.last_name : last_name // ignore: cast_nullable_to_non_nullable
as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,national_id: freezed == national_id ? _self.national_id : national_id // ignore: cast_nullable_to_non_nullable
as String?,city: freezed == city ? _self.city : city // ignore: cast_nullable_to_non_nullable
as String?,
  ));
}

}


/// @nodoc
@JsonSerializable()

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

@override final  String? fullname;
@override final  String? first_name;
@override final  String? last_name;
@override final  String? mobile;
@override final  String? national_id;
@override final  String? city;

/// 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.first_name, first_name) || other.first_name == first_name)&&(identical(other.last_name, last_name) || other.last_name == last_name)&&(identical(other.mobile, mobile) || other.mobile == mobile)&&(identical(other.national_id, national_id) || other.national_id == national_id)&&(identical(other.city, city) || other.city == city));
}

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

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


}

/// @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? first_name, String? last_name, String? mobile, String? national_id, String? 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? first_name = freezed,Object? last_name = freezed,Object? mobile = freezed,Object? national_id = freezed,Object? city = freezed,}) {
  return _then(_User(
fullname: freezed == fullname ? _self.fullname : fullname // ignore: cast_nullable_to_non_nullable
as String?,first_name: freezed == first_name ? _self.first_name : first_name // ignore: cast_nullable_to_non_nullable
as String?,last_name: freezed == last_name ? _self.last_name : last_name // ignore: cast_nullable_to_non_nullable
as String?,mobile: freezed == mobile ? _self.mobile : mobile // ignore: cast_nullable_to_non_nullable
as String?,national_id: freezed == national_id ? _self.national_id : national_id // 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; Province? get city; String? get address; String? get postal_code;
/// 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.postal_code, postal_code) || other.postal_code == postal_code));
}

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

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


}

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


$ProvinceCopyWith<$Res>? get province;$ProvinceCopyWith<$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? postal_code = 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 Province?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as String?,postal_code: freezed == postal_code ? _self.postal_code : postal_code // 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')
$ProvinceCopyWith<$Res>? get city {
    if (_self.city == null) {
    return null;
  }

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


/// @nodoc
@JsonSerializable()

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

@override final  Province? province;
@override final  Province? city;
@override final  String? address;
@override final  String? postal_code;

/// 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.postal_code, postal_code) || other.postal_code == postal_code));
}

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

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


}

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


@override $ProvinceCopyWith<$Res>? get province;@override $ProvinceCopyWith<$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? postal_code = 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 Province?,address: freezed == address ? _self.address : address // ignore: cast_nullable_to_non_nullable
as String?,postal_code: freezed == postal_code ? _self.postal_code : postal_code // 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')
$ProvinceCopyWith<$Res>? get city {
    if (_self.city == null) {
    return null;
  }

  return $ProvinceCopyWith<$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?,
  ));
}

}


/// @nodoc
@JsonSerializable()

class _Province implements Province {
   _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 _$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?,
  ));
}

}


/// @nodoc
@JsonSerializable()

class _Activity implements Activity {
   _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 len_active_sessions; bool? get has_pons; bool? get has_active_pons;
/// 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.len_active_sessions, len_active_sessions) || other.len_active_sessions == len_active_sessions)&&(identical(other.has_pons, has_pons) || other.has_pons == has_pons)&&(identical(other.has_active_pons, has_active_pons) || other.has_active_pons == has_active_pons));
}

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

@override
String toString() {
  return 'PosStatus(len_active_sessions: $len_active_sessions, has_pons: $has_pons, has_active_pons: $has_active_pons)';
}


}

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




}
/// @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? len_active_sessions = freezed,Object? has_pons = freezed,Object? has_active_pons = freezed,}) {
  return _then(_self.copyWith(
len_active_sessions: freezed == len_active_sessions ? _self.len_active_sessions : len_active_sessions // ignore: cast_nullable_to_non_nullable
as int?,has_pons: freezed == has_pons ? _self.has_pons : has_pons // ignore: cast_nullable_to_non_nullable
as bool?,has_active_pons: freezed == has_active_pons ? _self.has_active_pons : has_active_pons // ignore: cast_nullable_to_non_nullable
as bool?,
  ));
}

}


/// @nodoc
@JsonSerializable()

class _PosStatus implements PosStatus {
   _PosStatus({this.len_active_sessions, this.has_pons, this.has_active_pons});
  factory _PosStatus.fromJson(Map<String, dynamic> json) => _$PosStatusFromJson(json);

@override final  int? len_active_sessions;
@override final  bool? has_pons;
@override final  bool? has_active_pons;

/// 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.len_active_sessions, len_active_sessions) || other.len_active_sessions == len_active_sessions)&&(identical(other.has_pons, has_pons) || other.has_pons == has_pons)&&(identical(other.has_active_pons, has_active_pons) || other.has_active_pons == has_active_pons));
}

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

@override
String toString() {
  return 'PosStatus(len_active_sessions: $len_active_sessions, has_pons: $has_pons, has_active_pons: $has_active_pons)';
}


}

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




}
/// @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? len_active_sessions = freezed,Object? has_pons = freezed,Object? has_active_pons = freezed,}) {
  return _then(_PosStatus(
len_active_sessions: freezed == len_active_sessions ? _self.len_active_sessions : len_active_sessions // ignore: cast_nullable_to_non_nullable
as int?,has_pons: freezed == has_pons ? _self.has_pons : has_pons // ignore: cast_nullable_to_non_nullable
as bool?,has_active_pons: freezed == has_active_pons ? _self.has_active_pons : has_active_pons // ignore: cast_nullable_to_non_nullable
as bool?,
  ));
}


}

// dart format on
