$LiveListsInfoRowsPlaceListFromJson function
Implementation
LiveListsInfoRowsPlaceList $LiveListsInfoRowsPlaceListFromJson(Map<String, dynamic> json) {
final LiveListsInfoRowsPlaceList liveListsInfoRowsPlaceList = LiveListsInfoRowsPlaceList();
final int? chat = jsonConvert.convert<int>(json['chat']);
if (chat != null) {
liveListsInfoRowsPlaceList.chat = chat;
}
final String? country = jsonConvert.convert<String>(json['country']);
if (country != null) {
liveListsInfoRowsPlaceList.country = country;
}
final int? follow = jsonConvert.convert<int>(json['follow']);
if (follow != null) {
liveListsInfoRowsPlaceList.follow = follow;
}
final String? headImage = jsonConvert.convert<String>(json['headImage']);
if (headImage != null) {
liveListsInfoRowsPlaceList.headImage = headImage;
}
final int? isHost = jsonConvert.convert<int>(json['isHost']);
if (isHost != null) {
liveListsInfoRowsPlaceList.isHost = isHost;
}
final int? liveId = jsonConvert.convert<int>(json['liveId']);
if (liveId != null) {
liveListsInfoRowsPlaceList.liveId = liveId;
}
final String? nickname = jsonConvert.convert<String>(json['nickname']);
if (nickname != null) {
liveListsInfoRowsPlaceList.nickname = nickname;
}
final int? role = jsonConvert.convert<int>(json['role']);
if (role != null) {
liveListsInfoRowsPlaceList.role = role;
}
final int? roomId = jsonConvert.convert<int>(json['roomId']);
if (roomId != null) {
liveListsInfoRowsPlaceList.roomId = roomId;
}
final int? roomPlaceId = jsonConvert.convert<int>(json['roomPlaceId']);
if (roomPlaceId != null) {
liveListsInfoRowsPlaceList.roomPlaceId = roomPlaceId;
}
final int? roomUserId = jsonConvert.convert<int>(json['roomUserId']);
if (roomUserId != null) {
liveListsInfoRowsPlaceList.roomUserId = roomUserId;
}
final int? roomUserStatus = jsonConvert.convert<int>(json['roomUserStatus']);
if (roomUserStatus != null) {
liveListsInfoRowsPlaceList.roomUserStatus = roomUserStatus;
}
final int? status = jsonConvert.convert<int>(json['status']);
if (status != null) {
liveListsInfoRowsPlaceList.status = status;
}
final int? streamSeq = jsonConvert.convert<int>(json['streamSeq']);
if (streamSeq != null) {
liveListsInfoRowsPlaceList.streamSeq = streamSeq;
}
final int? telSeq = jsonConvert.convert<int>(json['telSeq']);
if (telSeq != null) {
liveListsInfoRowsPlaceList.telSeq = telSeq;
}
final String? title = jsonConvert.convert<String>(json['title']);
if (title != null) {
liveListsInfoRowsPlaceList.title = title;
}
final int? type = jsonConvert.convert<int>(json['type']);
if (type != null) {
liveListsInfoRowsPlaceList.type = type;
}
final int? userId = jsonConvert.convert<int>(json['userId']);
if (userId != null) {
liveListsInfoRowsPlaceList.userId = userId;
}
final int? visitNum = jsonConvert.convert<int>(json['visitNum']);
if (visitNum != null) {
liveListsInfoRowsPlaceList.visitNum = visitNum;
}
final int? voice = jsonConvert.convert<int>(json['voice']);
if (voice != null) {
liveListsInfoRowsPlaceList.voice = voice;
}
return liveListsInfoRowsPlaceList;
}