// GENERATED CODE - DO NOT MODIFY BY HAND part of 'user_info.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** UserInfo _$UserInfoFromJson(Map json) { return UserInfo() ..vipNo = json['vipNo'] 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 int ..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 ..points = json['points'] as String ..isBind = json['isBind'] as bool ..memberRankVo = json['memberRankVo'] == null ? null : MemberRank.fromJson(json['memberRankVo'] as Map); } Map _$UserInfoToJson(UserInfo instance) => { 'vipNo': instance.vipNo, '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, 'points': instance.points, 'isBind': instance.isBind, 'memberRankVo': instance.memberRankVo, };