12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /// rank : 1
- /// userAvatar : "http://user.qn.timichat.net/avatar/418082988228608/1640602657073.png"
- /// userId : 418082988228608
- /// userName : "明愁吃滴休息"
- class CampVipUser {
- CampVipUser({
- int? rank,
- String? userAvatar,
- int? userId,
- String? userName,}){
- _rank = rank;
- _userAvatar = userAvatar;
- _userId = userId;
- _userName = userName;
- }
- CampVipUser.fromJson(dynamic json) {
- _rank = json['rank'];
- _userAvatar = json['userAvatar'];
- _userId = json['userId'];
- _userName = json['userName'];
- }
- int? _rank;
- String? _userAvatar;
- int? _userId;
- String? _userName;
- int? get rank => _rank;
- String? get userAvatar => _userAvatar;
- int? get userId => _userId;
- String? get userName => _userName;
- Map<String, dynamic> toJson() {
- final map = <String, dynamic>{};
- map['rank'] = _rank;
- map['userAvatar'] = _userAvatar;
- map['userId'] = _userId;
- map['userName'] = _userName;
- return map;
- }
- }
|