import 'package:json_annotation/json_annotation.dart'; import 'invite_new_bean.dart'; import 'me_character_info_bean.dart'; part 'user_info_bean.g.dart'; ///标签 @JsonSerializable(explicitToJson: true) class UserInfoBean { int? currency; String? userIconUrl; int? userId; String? nickName; int? remainingChatCount; List? characterInfo; int? memoryCardCount; InviteNewBean? inviteNewUser; int? hasTalked; int? photographs; UserInfoBean(this.currency, this.userIconUrl, this.userId, this.nickName, this.remainingChatCount, this.characterInfo, this.memoryCardCount); factory UserInfoBean.fromJson(Map json) => _$UserInfoBeanFromJson(json); Map toJson() => _$UserInfoBeanToJson(this); }