updateSeatList method
Implementation
void updateSeatList(List<TUISeatInfo> list) {
List<SeatInfo> newList = [];
for (TUISeatInfo info in list) {
if (filterEmptySeat && info.userId.isEmpty) {
continue;
}
SeatInfo seatInfo = SeatInfo();
seatInfo.updateState(info);
newList.add(seatInfo);
}
seatList.value = newList;
}