$LiveListsInfoRowsToJson function

Map<String, dynamic> $LiveListsInfoRowsToJson(
  1. LiveListsInfoRows entity
)

Implementation

Map<String, dynamic> $LiveListsInfoRowsToJson(LiveListsInfoRows entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['country'] = entity.country;
	data['cover'] = entity.cover;
	data['headImage'] = entity.headImage;
	data['isUnlock'] = entity.isUnlock;
	data['language'] = entity.language;
	data['liveId'] = entity.liveId;
	data['liveNotice'] = entity.liveNotice;
	data['nickname'] = entity.nickname;
	data['onlineNums'] = entity.onlineNums;
	data['onlineStatus'] = entity.onlineStatus;
	data['placeList'] =  entity.placeList?.map((v) => v.toJson()).toList();
	data['price'] = entity.price;
	data['roomId'] = entity.roomId;
	data['status'] = entity.status;
	data['subNums'] = entity.subNums;
	data['telFlag'] = entity.telFlag;
	data['title'] = entity.title;
	data['type'] = entity.type;
	data['userId'] = entity.userId;
	return data;
}