deleteTakeSeatRequest method

void deleteTakeSeatRequest(
  1. String requestId
)

Implementation

void deleteTakeSeatRequest(String requestId) {
  String userId = inviteSeatMap.entries
      .firstWhere(
        (entry) => entry.value == requestId,
        orElse: () => const MapEntry('', ''),
      )
      .key;
  if (userId.isNotEmpty) {
    deleteInviteSeatUser(userId);
  }
}