isSelfInSeat method

bool isSelfInSeat()

Implementation

bool isSelfInSeat() {
  var selfUserid = userState.selfInfo.userId;
  if (selfUserid.isEmpty) {
    return false;
  }
  var seatInfo = SeatInfo();
  seatInfo.userId.value = selfUserid;
  return seatState.seatList.value.contains(seatInfo);
}