$PopupEntityFromJson function
Implementation
PopupEntity $PopupEntityFromJson(Map<String, dynamic> json) {
final PopupEntity popupEntity = PopupEntity();
final List<PopBannerList>? bannerList = jsonConvert.convertListNotNull<PopBannerList>(json['bannerList']);
if (bannerList != null) {
popupEntity.bannerList = bannerList;
}
final List<PopPopupResp>? popupResp = jsonConvert.convertListNotNull<PopPopupResp>(json['popupResp']);
if (popupResp != null) {
popupEntity.popupResp = popupResp;
}
return popupEntity;
}