/// code : "OK" /// data : {"total":3,"pageIndex":1,"pageSize":20,"list":[{"userId":"162116510154752","userName":"66纪念","userNo":"10811379","niceNo":null,"userAvatar":"http://user.qn.soybean.net/avatar/162116510154752/1631951244395.png","isLive":0,"userLatitude":30.287458,"userLongitude":120.15358,"userDistance":1.2866731490746794E7,"wealthLevel":49,"charmLevel":1,"starLevel":16,"followStatus":false},{"userId":"170852968562689","userName":"小星芽66","userNo":"10829581","niceNo":null,"userAvatar":"http://user.qn.soybean.com/avatar/default_male.png","isLive":0,"userLatitude":null,"userLongitude":null,"userDistance":null,"wealthLevel":3,"charmLevel":1,"starLevel":2,"followStatus":false},{"userId":"551615425675280","userName":"龙丘志泽66","userNo":"10411382","niceNo":null,"userAvatar":"http://user.qn.soybean.com/avatar/default_male.png","isLive":0,"userLatitude":null,"userLongitude":null,"userDistance":null,"wealthLevel":1,"charmLevel":1,"starLevel":1,"followStatus":false}],"pageCursor":0} /// msg : "" /// success : true class HomeSearchContentUsersModel { HomeSearchContentUsersModel({ String? code, Data? data, String? msg, bool? success,}){ _code = code; _data = data; _msg = msg; _success = success; } HomeSearchContentUsersModel.fromJson(dynamic json) { _code = json['code']; _data = json['data'] != null ? Data.fromJson(json['data']) : null; _msg = json['msg']; _success = json['success']; } String? _code; Data? _data; String? _msg; bool? _success; String? get code => _code; Data? get data => _data; String? get msg => _msg; bool? get success => _success; Map toJson() { final map = {}; map['code'] = _code; if (_data != null) { map['data'] = _data?.toJson(); } map['msg'] = _msg; map['success'] = _success; return map; } } /// total : 3 /// pageIndex : 1 /// pageSize : 20 /// list : [{"userId":"162116510154752","userName":"66纪念","userNo":"10811379","niceNo":null,"userAvatar":"http://user.qn.soybean.net/avatar/162116510154752/1631951244395.png","isLive":0,"userLatitude":30.287458,"userLongitude":120.15358,"userDistance":1.2866731490746794E7,"wealthLevel":49,"charmLevel":1,"starLevel":16,"followStatus":false},{"userId":"170852968562689","userName":"小星芽66","userNo":"10829581","niceNo":null,"userAvatar":"http://user.qn.soybean.com/avatar/default_male.png","isLive":0,"userLatitude":null,"userLongitude":null,"userDistance":null,"wealthLevel":3,"charmLevel":1,"starLevel":2,"followStatus":false},{"userId":"551615425675280","userName":"龙丘志泽66","userNo":"10411382","niceNo":null,"userAvatar":"http://user.qn.soybean.com/avatar/default_male.png","isLive":0,"userLatitude":null,"userLongitude":null,"userDistance":null,"wealthLevel":1,"charmLevel":1,"starLevel":1,"followStatus":false}] /// pageCursor : 0 class Data { Data({ int? total, int? pageIndex, int? pageSize, List? list, int? pageCursor,}){ _total = total; _pageIndex = pageIndex; _pageSize = pageSize; _list = list; _pageCursor = pageCursor; } Data.fromJson(dynamic json) { _total = json['total']; _pageIndex = json['pageIndex']; _pageSize = json['pageSize']; if (json['list'] != null) { _list = []; json['list'].forEach((v) { _list?.add(SearchContentUser.fromJson(v)); }); } _pageCursor = json['pageCursor']; } int? _total; int? _pageIndex; int? _pageSize; List? _list; int? _pageCursor; int? get total => _total; int? get pageIndex => _pageIndex; int? get pageSize => _pageSize; List? get list => _list; int? get pageCursor => _pageCursor; Map toJson() { final map = {}; map['total'] = _total; map['pageIndex'] = _pageIndex; map['pageSize'] = _pageSize; if (_list != null) { map['list'] = _list?.map((v) => v.toJson()).toList(); } map['pageCursor'] = _pageCursor; return map; } } /// userId : "162116510154752" /// userName : "66纪念" /// userNo : "10811379" /// niceNo : null /// userAvatar : "http://user.qn.soybean.net/avatar/162116510154752/1631951244395.png" /// isLive : 0 /// userLatitude : 30.287458 /// userLongitude : 120.15358 /// userDistance : 1.2866731490746794E7 /// wealthLevel : 49 /// charmLevel : 1 /// starLevel : 16 /// followStatus : false class SearchContentUser { SearchContentUser({ String? userId, String? userName, String? userNo, dynamic niceNo, String? userAvatar, int? isLive, double? userLatitude, double? userLongitude, double? userDistance, int? wealthLevel, int? charmLevel, int? starLevel, bool? followStatus,}){ _userId = userId; _userName = userName; _userNo = userNo; _niceNo = niceNo; _userAvatar = userAvatar; _isLive = isLive; _userLatitude = userLatitude; _userLongitude = userLongitude; _userDistance = userDistance; _wealthLevel = wealthLevel; _charmLevel = charmLevel; _starLevel = starLevel; followStatus = followStatus; } SearchContentUser.fromJson(dynamic json) { _userId = json['userId']; _userName = json['userName']; _userNo = json['userNo']; _niceNo = json['niceNo']; _userAvatar = json['userAvatar']; _isLive = json['isLive']; _userLatitude = json['userLatitude']; _userLongitude = json['userLongitude']; _userDistance = json['userDistance']; _wealthLevel = json['wealthLevel']; _charmLevel = json['charmLevel']; _starLevel = json['starLevel']; followStatus = json['followStatus']; } String? _userId; String? _userName; String? _userNo; dynamic _niceNo; String? _userAvatar; int? _isLive; double? _userLatitude; double? _userLongitude; double? _userDistance; int? _wealthLevel; int? _charmLevel; int? _starLevel; bool? followStatus; String? get userId => _userId; String? get userName => _userName; String? get userNo => _userNo; dynamic get niceNo => _niceNo; String? get userAvatar => _userAvatar; int? get isLive => _isLive; double? get userLatitude => _userLatitude; double? get userLongitude => _userLongitude; double? get userDistance => _userDistance; int? get wealthLevel => _wealthLevel; int? get charmLevel => _charmLevel; int? get starLevel => _starLevel; Map toJson() { final map = {}; map['userId'] = _userId; map['userName'] = _userName; map['userNo'] = _userNo; map['niceNo'] = _niceNo; map['userAvatar'] = _userAvatar; map['isLive'] = _isLive; map['userLatitude'] = _userLatitude; map['userLongitude'] = _userLongitude; map['userDistance'] = _userDistance; map['wealthLevel'] = _wealthLevel; map['charmLevel'] = _charmLevel; map['starLevel'] = _starLevel; map['followStatus'] = followStatus; return map; } }