addSeatApplication method
void
addSeatApplication(
- TUIRequest request
Implementation
void addSeatApplication(TUIRequest request) {
if (request.requestId.isEmpty) {
return;
}
if (request.requestAction != TUIRequestAction.requestToTakeSeat) {
return;
}
SeatApplication seatApplication = SeatApplication(request.requestId);
seatApplication.updateState(request);
seatApplicationList.value.add(seatApplication);
final applicationList = <SeatApplication>[];
applicationList.addAll(seatApplicationList.value);
seatApplicationList.value = applicationList;
}