// GENERATED CODE - DO NOT MODIFY BY HAND part of 'user_info.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** UserInfo _$UserInfoFromJson(Map json) => UserInfo() ..vipNo = json['vipNo'] as String? ..vipScanNo = json['vipScanNo'] as String? ..nickname = json['nickname'] as String? ..headimg = json['headimg'] as String? ..userType = json['userType'] as bool? ..sex = json['sex'] as String? ..level = (json['level'] as num?)?.toInt() ..addressId = json['addressId'] as String? ..remark = json['remark'] as String? ..phone = json['phone'] as String? ..createTime = json['createTime'] as String? ..birth = json['birth'] as String? ..balance = json['balance'] ..money = json['money'] as String? ..activityMoney = json['activityMoney'] as String? ..expendAmount = json['expendAmount'] as String? ..points = json['points'] as String? ..greenMoney = json['greenMoney'] as String? ..raiseMoney = json['raiseMoney'] as String? ..raiseExpireTime = json['raiseExpireTime'] as String? ..isBind = json['isBind'] as bool? ..masterId = json['masterId'] as String? ..inviteNumber = json['inviteNumber'] ..todayInviteNumber = json['todayInviteNumber'] ..masterCardRankName = json['masterCardRankName'] as String? ..memberRankVo = json['memberRankVo'] == null ? null : MemberRank.fromJson(json['memberRankVo'] as Map) ..inviteCode = json['inviteCode'] as String? ..signature = json['signature'] as String? ..background = json['background'] as String? ..hasPayPassword = json['hasPayPassword'] as bool? ..happyBean = json['happyBean'] as String? ..isVip = json['isVip'] as bool?; Map _$UserInfoToJson(UserInfo instance) => { 'vipNo': instance.vipNo, 'vipScanNo': instance.vipScanNo, 'nickname': instance.nickname, 'headimg': instance.headimg, 'userType': instance.userType, 'sex': instance.sex, 'level': instance.level, 'addressId': instance.addressId, 'remark': instance.remark, 'phone': instance.phone, 'createTime': instance.createTime, 'birth': instance.birth, 'balance': instance.balance, 'money': instance.money, 'activityMoney': instance.activityMoney, 'expendAmount': instance.expendAmount, 'points': instance.points, 'greenMoney': instance.greenMoney, 'raiseMoney': instance.raiseMoney, 'raiseExpireTime': instance.raiseExpireTime, 'isBind': instance.isBind, 'masterId': instance.masterId, 'inviteNumber': instance.inviteNumber, 'todayInviteNumber': instance.todayInviteNumber, 'masterCardRankName': instance.masterCardRankName, 'memberRankVo': instance.memberRankVo?.toJson(), 'inviteCode': instance.inviteCode, 'signature': instance.signature, 'background': instance.background, 'hasPayPassword': instance.hasPayPassword, 'happyBean': instance.happyBean, 'isVip': instance.isVip, };