// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'steward_allocation_request.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

_StewardAllocationRequest _$StewardAllocationRequestFromJson(
  Map<String, dynamic> json,
) => _StewardAllocationRequest(
  checkAllocation: json['check_allocation'] as bool?,
  allocationKey: json['allocation_key'] as String?,
  state: json['state'] as String?,
  registrationCode: (json['registration_code'] as num?)?.toInt(),
  receiverRealNumberOfCarcasses:
      (json['receiver_real_number_of_carcasses'] as num?)?.toInt(),
  receiverRealWeightOfCarcasses:
      (json['receiver_real_weight_of_carcasses'] as num?)?.toInt(),
  weightLossOfCarcasses: (json['weight_loss_of_carcasses'] as num?)?.toInt(),
);

Map<String, dynamic> _$StewardAllocationRequestToJson(
  _StewardAllocationRequest instance,
) => <String, dynamic>{
  'check_allocation': instance.checkAllocation,
  'allocation_key': instance.allocationKey,
  'state': instance.state,
  'registration_code': instance.registrationCode,
  'receiver_real_number_of_carcasses': instance.receiverRealNumberOfCarcasses,
  'receiver_real_weight_of_carcasses': instance.receiverRealWeightOfCarcasses,
  'weight_loss_of_carcasses': instance.weightLossOfCarcasses,
};
