import 'package:json_annotation/json_annotation.dart'; part 'member_infor.g.dart'; @JsonSerializable(explicitToJson: true) class MemberInfor { String? id = ''; String? nickname = ''; String? headimg = ''; bool? userType = false; String? sex = ''; int? level = 0; String? remark = ''; String? createTime = ''; String? birth = ''; int? organic = 0; int? age = 0; String? signature = ''; String? background = ''; int? follow = 0; int? fans = 0; int? trendTotal = 0; int? gainLikeTotal = 0; MemberInfor(); factory MemberInfor.fromJson(Map json) => _$MemberInforFromJson(json); Map toJson() => _$MemberInforToJson(this); }