// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'auth_dtos.dart';

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

_$CheckPhoneDtoImpl _$$CheckPhoneDtoImplFromJson(Map<String, dynamic> json) =>
    _$CheckPhoneDtoImpl(
      status: json['status'] as String?,
      message: json['message'] as String?,
      data: json['data'] == null
          ? null
          : CheckPhoneDataDto.fromJson(json['data'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$$CheckPhoneDtoImplToJson(_$CheckPhoneDtoImpl instance) =>
    <String, dynamic>{
      'status': instance.status,
      'message': instance.message,
      'data': instance.data,
    };

_$CheckPhoneDataDtoImpl _$$CheckPhoneDataDtoImplFromJson(
  Map<String, dynamic> json,
) => _$CheckPhoneDataDtoImpl(phoneNumber: json['phone_number'] as String?);

Map<String, dynamic> _$$CheckPhoneDataDtoImplToJson(
  _$CheckPhoneDataDtoImpl instance,
) => <String, dynamic>{'phone_number': instance.phoneNumber};

_$RegisterDtoImpl _$$RegisterDtoImplFromJson(Map<String, dynamic> json) =>
    _$RegisterDtoImpl(
      status: json['status'] as String?,
      message: json['message'] as String?,
      data: json['data'] == null
          ? null
          : RegisterDataDto.fromJson(json['data'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$$RegisterDtoImplToJson(_$RegisterDtoImpl instance) =>
    <String, dynamic>{
      'status': instance.status,
      'message': instance.message,
      'data': instance.data,
    };

_$RegisterDataDtoImpl _$$RegisterDataDtoImplFromJson(
  Map<String, dynamic> json,
) => _$RegisterDataDtoImpl(
  registrationToken: json['registration_token'] as String?,
  otpToken: json['otp_token'] as String?,
  expiresIn: (json['expires_in'] as num?)?.toInt(),
);

Map<String, dynamic> _$$RegisterDataDtoImplToJson(
  _$RegisterDataDtoImpl instance,
) => <String, dynamic>{
  'registration_token': instance.registrationToken,
  'otp_token': instance.otpToken,
  'expires_in': instance.expiresIn,
};

_$VerifyDtoImpl _$$VerifyDtoImplFromJson(Map<String, dynamic> json) =>
    _$VerifyDtoImpl(
      status: json['status'] as String?,
      message: json['message'] as String?,
      data: json['data'] == null
          ? null
          : VerifyDataDto.fromJson(json['data'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$$VerifyDtoImplToJson(_$VerifyDtoImpl instance) =>
    <String, dynamic>{
      'status': instance.status,
      'message': instance.message,
      'data': instance.data,
    };

_$VerifyDataDtoImpl _$$VerifyDataDtoImplFromJson(Map<String, dynamic> json) =>
    _$VerifyDataDtoImpl(
      registrationToken: json['registration_token'] as String?,
    );

Map<String, dynamic> _$$VerifyDataDtoImplToJson(_$VerifyDataDtoImpl instance) =>
    <String, dynamic>{'registration_token': instance.registrationToken};

_$LoginDtoImpl _$$LoginDtoImplFromJson(Map<String, dynamic> json) =>
    _$LoginDtoImpl(
      status: json['status'] as String?,
      message: json['message'] as String?,
      data: json['data'] == null
          ? null
          : LoginDataDto.fromJson(json['data'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$$LoginDtoImplToJson(_$LoginDtoImpl instance) =>
    <String, dynamic>{
      'status': instance.status,
      'message': instance.message,
      'data': instance.data,
    };

_$LoginDataDtoImpl _$$LoginDataDtoImplFromJson(Map<String, dynamic> json) =>
    _$LoginDataDtoImpl(
      accessToken: json['access_token'] as String?,
      refreshToken: json['refresh_token'] as String?,
      user: json['user'] == null
          ? null
          : UserDto.fromJson(json['user'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$$LoginDataDtoImplToJson(_$LoginDataDtoImpl instance) =>
    <String, dynamic>{
      'access_token': instance.accessToken,
      'refresh_token': instance.refreshToken,
      'user': instance.user,
    };

_$UserDtoImpl _$$UserDtoImplFromJson(Map<String, dynamic> json) =>
    _$UserDtoImpl(
      id: json['id'] as String?,
      name: json['name'] as String?,
      phoneNumber: json['phone_number'] as String?,
      birthDate: json['birth_date'] as String?,
    );

Map<String, dynamic> _$$UserDtoImplToJson(_$UserDtoImpl instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'phone_number': instance.phoneNumber,
      'birth_date': instance.birthDate,
    };

_$ResendDtoImpl _$$ResendDtoImplFromJson(Map<String, dynamic> json) =>
    _$ResendDtoImpl(
      status: json['status'] as String?,
      message: json['message'] as String?,
      data: json['data'] == null
          ? null
          : ResendDataDto.fromJson(json['data'] as Map<String, dynamic>),
    );

Map<String, dynamic> _$$ResendDtoImplToJson(_$ResendDtoImpl instance) =>
    <String, dynamic>{
      'status': instance.status,
      'message': instance.message,
      'data': instance.data,
    };

_$ResendDataDtoImpl _$$ResendDataDtoImplFromJson(Map<String, dynamic> json) =>
    _$ResendDataDtoImpl(
      otpToken: json['otp_token'] as String?,
      expiresIn: (json['expires_in'] as num?)?.toInt(),
      nextResendIn: (json['next_resend_in'] as num?)?.toInt(),
    );

Map<String, dynamic> _$$ResendDataDtoImplToJson(_$ResendDataDtoImpl instance) =>
    <String, dynamic>{
      'otp_token': instance.otpToken,
      'expires_in': instance.expiresIn,
      'next_resend_in': instance.nextResendIn,
    };
