// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'member_new_user_response.dart';

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

MemberNewUserResponse _$MemberNewUserResponseFromJson(
  Map<String, dynamic> json,
) => MemberNewUserResponse(
  intimacy: (json['intimacy'] as num?)?.toInt(),
  goodsInfoList:
      (json['items'] as List<dynamic>?)
          ?.map((e) => GoodsInfo.fromJson(e as Map<String, dynamic>))
          .toList(),
  payInfoList:
      (json['payOptions'] as List<dynamic>?)
          ?.map((e) => PayWayInfo.fromJson(e as Map<String, dynamic>))
          .toList(),
  characterInfos:
      (json['characterInfos'] as List<dynamic>?)
          ?.map((e) => CharacterInfo.fromJson(e as Map<String, dynamic>))
          .toList(),
);

Map<String, dynamic> _$MemberNewUserResponseToJson(
  MemberNewUserResponse instance,
) => <String, dynamic>{
  'intimacy': instance.intimacy,
  'items': instance.goodsInfoList,
  'payOptions': instance.payInfoList,
  'characterInfos': instance.characterInfos,
};
