/// code : "OK" /// data : {"list":[{"userId":"418082988228608","userName":"明愁吃愁穿c","userAvatar":"http://user.qn.timichat.net/avatar/418082988228608/1624968976625.png","wealthLevel":33,"userNo":"10129696","sitTime":"1631788033485","userSex":1}]} /// msg : "" /// success : true class QueueUserModel { String? _code; Data? _data; String? _msg; bool? _success; String? get code => _code; Data? get data => _data; String? get msg => _msg; bool? get success => _success; QueueUserModel({ String? code, Data? data, String? msg, bool? success}){ _code = code; _data = data; _msg = msg; _success = success; } QueueUserModel.fromJson(dynamic json) { _code = json['code']; _data = json['data'] != null ? Data.fromJson(json['data']) : null; _msg = json['msg']; _success = json['success']; } Map toJson() { var map = {}; map['code'] = _code; if (_data != null) { map['data'] = _data?.toJson(); } map['msg'] = _msg; map['success'] = _success; return map; } } /// list : [{"userId":"418082988228608","userName":"明愁吃愁穿c","userAvatar":"http://user.qn.timichat.net/avatar/418082988228608/1624968976625.png","wealthLevel":33,"userNo":"10129696","sitTime":"1631788033485","userSex":1}] class Data { List? _list; List? get list => _list; Data({ List? list}){ _list = list; } Data.fromJson(dynamic json) { if (json['list'] != null) { _list = []; json['list'].forEach((v) { _list?.add(QueueList.fromJson(v)); }); } } Map toJson() { var map = {}; if (_list != null) { map['list'] = _list?.map((v) => v.toJson()).toList(); } return map; } } /// userId : "418082988228608" /// userName : "明愁吃愁穿c" /// userAvatar : "http://user.qn.timichat.net/avatar/418082988228608/1624968976625.png" /// wealthLevel : 33 /// userNo : "10129696" /// sitTime : "1631788033485" /// userSex : 1 class QueueList { String? _userId; String? _userName; String? _userAvatar; int? _wealthLevel; String? _userNo; String? _sitTime; int? _userSex; String? get userId => _userId; String? get userName => _userName; String? get userAvatar => _userAvatar; int? get wealthLevel => _wealthLevel; String? get userNo => _userNo; String? get sitTime => _sitTime; int? get userSex => _userSex; QueueList({ String? userId, String? userName, String? userAvatar, int? wealthLevel, String? userNo, String? sitTime, int? userSex}){ _userId = userId; _userName = userName; _userAvatar = userAvatar; _wealthLevel = wealthLevel; _userNo = userNo; _sitTime = sitTime; _userSex = userSex; } QueueList.fromJson(dynamic json) { _userId = json['userId']; _userName = json['userName']; _userAvatar = json['userAvatar']; _wealthLevel = json['wealthLevel']; _userNo = json['userNo']; _sitTime = json['sitTime']; _userSex = json['userSex']; } Map toJson() { var map = {}; map['userId'] = _userId; map['userName'] = _userName; map['userAvatar'] = _userAvatar; map['wealthLevel'] = _wealthLevel; map['userNo'] = _userNo; map['sitTime'] = _sitTime; map['userSex'] = _userSex; return map; } }