/// code : "OK" /// data : {"list":[{"bannerId":"394037932589056","bannerPic":"http://media.qn.soybean.net/banner/98ca1b502bb74c468d9fff49a6f759f8.png","bannerPosition":301,"bannerAction":101,"bannerUrl":"https://www.wenjuan.com/s/UZBZJvkJSrs/","bannerExtId":""},{"bannerId":"374330408042496","bannerPic":"http://media.qn.soybean.net/banner/c62acfbe26c44be6bac303dad6059d7c.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://srank.activity.soybean.net/collectgifts?activityId=373033537634304","bannerExtId":""},{"bannerId":"130917322457088","bannerPic":"http://media.sbqn.laylib.com/banner/856ff20b30b84291933eacc86967e506.png","bannerPosition":201,"bannerAction":0,"bannerUrl":null,"bannerExtId":""},{"bannerId":"116440514428928","bannerPic":"http://media.sbqn.laylib.com/banner/3a869ef2e3ba4cd5a23f5f948a01ce3f.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://charmrank.h5.starbuds.laylib.com/rankspk?a=115666187190272","bannerExtId":""},{"bannerId":"407764597735424","bannerPic":"http://media.qn.soybean.net/banner/4533492316cb47048cc6a2eca2711cff.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://inapp.soybean.net/realLoveRank","bannerExtId":"1"},{"bannerId":"394038125527040","bannerPic":"http://media.qn.soybean.net/banner/2894f7fb0ed84f35842290d466d9034d.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://inapp.soybean.net/gasranks","bannerExtId":"哈哈"},{"bannerId":"309083068432384","bannerPic":"http://media.qn.soybean.net/banner/4aee31e9a3ab402ca321a9fc14fd00de.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://inapp.soybean.net/gRanks/home?room=1","bannerExtId":""},{"bannerId":"218486001369088","bannerPic":"http://media.sbqn.laylib.com/banner/e3d07d93d6104689bb96ac463b944934.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://travelgame.h5.starbuds.laylib.com/travel/home?lotteryId=4947d282e625121ed591bf72833c53ea","bannerExtId":""},{"bannerId":"115072097583104","bannerPic":"http://media.sbqn.laylib.com/banner/ac6720984ead4455bd01ec4b0512cbf8.png","bannerPosition":201,"bannerAction":101,"bannerUrl":"http://pig.h5.starbuds.laylib.com/full?g=80eaa12d08502e085106c906108fa185&s=9efc222cd1f2c7209f82909ad837c6a1&c=298b61525ebc121dda0ea125965bf551","bannerExtId":""},{"bannerId":"70146295070720","bannerPic":"http://media.sbqn.laylib.com/banner/a404cdfa1c874b8faf760dd45a206e8c.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://appbase.h5.starbuds.laylib.com/nobility/home","bannerExtId":""},{"bannerId":"88048398237696","bannerPic":"http://media.sbqn.laylib.com/banner/3cc4b003241041b8950e50a55436bc2c.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://appbase.h5.starbuds.laylib.com/wshop/home","bannerExtId":""},{"bannerId":"109142870065152","bannerPic":"http://media.sbqn.laylib.com/banner/435bb348a23548f48cf13ddff261f8ce.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://sp.qn.paqukeji.com/images/20200429_banner.png","bannerExtId":""},{"bannerId":"68564060995584","bannerPic":"http://media.sbqn.laylib.com/banner/b1f5d974549049b2b5c710f443e8b198.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"www.baidu.com","bannerExtId":""}]} /// msg : "" /// success : true class HomeBannerModel { String? _code; HomeBannerModelData? _data; String? _msg; bool? _success; String? get code => _code; HomeBannerModelData? get data => _data; String? get msg => _msg; bool? get success => _success; HomeBannerModel({ String? code, HomeBannerModelData? data, String? msg, bool? success}){ _code = code; _data = data; _msg = msg; _success = success; } HomeBannerModel.fromJson(dynamic json) { _code = json['code']; _data = json['data'] != null ? HomeBannerModelData.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 : [{"bannerId":"394037932589056","bannerPic":"http://media.qn.soybean.net/banner/98ca1b502bb74c468d9fff49a6f759f8.png","bannerPosition":301,"bannerAction":101,"bannerUrl":"https://www.wenjuan.com/s/UZBZJvkJSrs/","bannerExtId":""},{"bannerId":"374330408042496","bannerPic":"http://media.qn.soybean.net/banner/c62acfbe26c44be6bac303dad6059d7c.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://srank.activity.soybean.net/collectgifts?activityId=373033537634304","bannerExtId":""},{"bannerId":"130917322457088","bannerPic":"http://media.sbqn.laylib.com/banner/856ff20b30b84291933eacc86967e506.png","bannerPosition":201,"bannerAction":0,"bannerUrl":null,"bannerExtId":""},{"bannerId":"116440514428928","bannerPic":"http://media.sbqn.laylib.com/banner/3a869ef2e3ba4cd5a23f5f948a01ce3f.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://charmrank.h5.starbuds.laylib.com/rankspk?a=115666187190272","bannerExtId":""},{"bannerId":"407764597735424","bannerPic":"http://media.qn.soybean.net/banner/4533492316cb47048cc6a2eca2711cff.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://inapp.soybean.net/realLoveRank","bannerExtId":"1"},{"bannerId":"394038125527040","bannerPic":"http://media.qn.soybean.net/banner/2894f7fb0ed84f35842290d466d9034d.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://inapp.soybean.net/gasranks","bannerExtId":"哈哈"},{"bannerId":"309083068432384","bannerPic":"http://media.qn.soybean.net/banner/4aee31e9a3ab402ca321a9fc14fd00de.png","bannerPosition":102,"bannerAction":101,"bannerUrl":"http://inapp.soybean.net/gRanks/home?room=1","bannerExtId":""},{"bannerId":"218486001369088","bannerPic":"http://media.sbqn.laylib.com/banner/e3d07d93d6104689bb96ac463b944934.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://travelgame.h5.starbuds.laylib.com/travel/home?lotteryId=4947d282e625121ed591bf72833c53ea","bannerExtId":""},{"bannerId":"115072097583104","bannerPic":"http://media.sbqn.laylib.com/banner/ac6720984ead4455bd01ec4b0512cbf8.png","bannerPosition":201,"bannerAction":101,"bannerUrl":"http://pig.h5.starbuds.laylib.com/full?g=80eaa12d08502e085106c906108fa185&s=9efc222cd1f2c7209f82909ad837c6a1&c=298b61525ebc121dda0ea125965bf551","bannerExtId":""},{"bannerId":"70146295070720","bannerPic":"http://media.sbqn.laylib.com/banner/a404cdfa1c874b8faf760dd45a206e8c.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://appbase.h5.starbuds.laylib.com/nobility/home","bannerExtId":""},{"bannerId":"88048398237696","bannerPic":"http://media.sbqn.laylib.com/banner/3cc4b003241041b8950e50a55436bc2c.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://appbase.h5.starbuds.laylib.com/wshop/home","bannerExtId":""},{"bannerId":"109142870065152","bannerPic":"http://media.sbqn.laylib.com/banner/435bb348a23548f48cf13ddff261f8ce.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"http://sp.qn.paqukeji.com/images/20200429_banner.png","bannerExtId":""},{"bannerId":"68564060995584","bannerPic":"http://media.sbqn.laylib.com/banner/b1f5d974549049b2b5c710f443e8b198.png","bannerPosition":101,"bannerAction":101,"bannerUrl":"www.baidu.com","bannerExtId":""}] class HomeBannerModelData { List? _list; List? get list => _list; HomeBannerModelData({ List? list}){ _list = list; } HomeBannerModelData.fromJson(dynamic json) { if (json['list'] != null) { _list = []; json['list'].forEach((v) { _list?.add(BannerList.fromJson(v)); }); } } Map toJson() { var map = {}; if (_list != null) { map['list'] = _list?.map((v) => v.toJson()).toList(); } return map; } } /// bannerId : "394037932589056" /// bannerPic : "http://media.qn.soybean.net/banner/98ca1b502bb74c468d9fff49a6f759f8.png" /// bannerPosition : 301 /// bannerAction : 101 /// bannerUrl : "https://www.wenjuan.com/s/UZBZJvkJSrs/" /// bannerExtId : "" class BannerList { String? _bannerId; String? _bannerPic; int? _bannerPosition; int? _bannerAction; String? _bannerUrl; String? _bannerExtId; String? get bannerId => _bannerId; String? get bannerPic => _bannerPic; int? get bannerPosition => _bannerPosition; int? get bannerAction => _bannerAction; String? get bannerUrl => _bannerUrl; String? get bannerExtId => _bannerExtId; BannerList({ String? bannerId, String? bannerPic, int? bannerPosition, int? bannerAction, String? bannerUrl, String? bannerExtId}){ _bannerId = bannerId; _bannerPic = bannerPic; _bannerPosition = bannerPosition; _bannerAction = bannerAction; _bannerUrl = bannerUrl; _bannerExtId = bannerExtId; } BannerList.fromJson(dynamic json) { _bannerId = json['bannerId']; _bannerPic = json['bannerPic']; _bannerPosition = json['bannerPosition']; _bannerAction = json['bannerAction']; _bannerUrl = json['bannerUrl']; _bannerExtId = json['bannerExtId']; } Map toJson() { var map = {}; map['bannerId'] = _bannerId; map['bannerPic'] = _bannerPic; map['bannerPosition'] = _bannerPosition; map['bannerAction'] = _bannerAction; map['bannerUrl'] = _bannerUrl; map['bannerExtId'] = _bannerExtId; return map; } }