$LiveListsInfoRowsFromJson function

LiveListsInfoRows $LiveListsInfoRowsFromJson(
  1. Map<String, dynamic> json
)

Implementation

LiveListsInfoRows $LiveListsInfoRowsFromJson(Map<String, dynamic> json) {
	final LiveListsInfoRows liveListsInfoRows = LiveListsInfoRows();
	final String? country = jsonConvert.convert<String>(json['country']);
	if (country != null) {
		liveListsInfoRows.country = country;
	}
	final String? cover = jsonConvert.convert<String>(json['cover']);
	if (cover != null) {
		liveListsInfoRows.cover = cover;
	}
	final String? headImage = jsonConvert.convert<String>(json['headImage']);
	if (headImage != null) {
		liveListsInfoRows.headImage = headImage;
	}
	final int? isUnlock = jsonConvert.convert<int>(json['isUnlock']);
	if (isUnlock != null) {
		liveListsInfoRows.isUnlock = isUnlock;
	}
	final String? language = jsonConvert.convert<String>(json['language']);
	if (language != null) {
		liveListsInfoRows.language = language;
	}
	final int? liveId = jsonConvert.convert<int>(json['liveId']);
	if (liveId != null) {
		liveListsInfoRows.liveId = liveId;
	}
	final String? liveNotice = jsonConvert.convert<String>(json['liveNotice']);
	if (liveNotice != null) {
		liveListsInfoRows.liveNotice = liveNotice;
	}
	final String? nickname = jsonConvert.convert<String>(json['nickname']);
	if (nickname != null) {
		liveListsInfoRows.nickname = nickname;
	}
	final int? onlineNums = jsonConvert.convert<int>(json['onlineNums']);
	if (onlineNums != null) {
		liveListsInfoRows.onlineNums = onlineNums;
	}
	final String? onlineStatus = jsonConvert.convert<String>(json['onlineStatus']);
	if (onlineStatus != null) {
		liveListsInfoRows.onlineStatus = onlineStatus;
	}
	final List<LiveListsInfoRowsPlaceList>? placeList = jsonConvert.convertListNotNull<LiveListsInfoRowsPlaceList>(json['placeList']);
	if (placeList != null) {
		liveListsInfoRows.placeList = placeList;
	}
	final int? price = jsonConvert.convert<int>(json['price']);
	if (price != null) {
		liveListsInfoRows.price = price;
	}
	final int? roomId = jsonConvert.convert<int>(json['roomId']);
	if (roomId != null) {
		liveListsInfoRows.roomId = roomId;
	}
	final int? status = jsonConvert.convert<int>(json['status']);
	if (status != null) {
		liveListsInfoRows.status = status;
	}
	final int? subNums = jsonConvert.convert<int>(json['subNums']);
	if (subNums != null) {
		liveListsInfoRows.subNums = subNums;
	}
	final int? telFlag = jsonConvert.convert<int>(json['telFlag']);
	if (telFlag != null) {
		liveListsInfoRows.telFlag = telFlag;
	}
	final String? title = jsonConvert.convert<String>(json['title']);
	if (title != null) {
		liveListsInfoRows.title = title;
	}
	final int? type = jsonConvert.convert<int>(json['type']);
	if (type != null) {
		liveListsInfoRows.type = type;
	}
	final int? userId = jsonConvert.convert<int>(json['userId']);
	if (userId != null) {
		liveListsInfoRows.userId = userId;
	}
	return liveListsInfoRows;
}