$PopupEntityFromJson function

PopupEntity $PopupEntityFromJson(
  1. Map<String, dynamic> json
)

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;
}