// 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,
};
