// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'sign_up_request_model.dart';

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

_SignUpRequestModel _$SignUpRequestModelFromJson(Map<String, dynamic> json) =>
    _SignUpRequestModel(
      firstName: json['firstName'] as String,
      lastName: json['lastName'] as String,
      email: json['email'] as String,
      phone: json['phone'] as String,
      language: json['language'] as String,
      password: json['password'] as String,
      taxResidences: (json['taxResidences'] as List<dynamic>)
          .map((e) => AddressModel.fromJson(e as Map<String, dynamic>))
          .toList(),
      addresses: (json['addresses'] as List<dynamic>)
          .map((e) => AddressModel.fromJson(e as Map<String, dynamic>))
          .toList(),
      bornAt: (json['bornAt'] as num).toInt(),
      userId: json['userId'] as String,
      placeOfBirth: json['placeOfBirth'] as String,
      birthCountry: json['birthCountry'] as String,
      documentNumber: json['dni'] as String,
      relationship: json['relationship'] as String,
    );

Map<String, dynamic> _$SignUpRequestModelToJson(_SignUpRequestModel instance) =>
    <String, dynamic>{
      'firstName': instance.firstName,
      'lastName': instance.lastName,
      'email': instance.email,
      'phone': instance.phone,
      'language': instance.language,
      'password': instance.password,
      'taxResidences': instance.taxResidences,
      'addresses': instance.addresses,
      'bornAt': instance.bornAt,
      'userId': instance.userId,
      'placeOfBirth': instance.placeOfBirth,
      'birthCountry': instance.birthCountry,
      'dni': instance.documentNumber,
      'relationship': instance.relationship,
    };
