showLobbyRequestDialog method
Implementation
void showLobbyRequestDialog(RemoteActivityData remoteData) {
// Check if request_id already exists in the queue
if (_lobbyRequestQueue.any((request) => request.requestId == remoteData.requestId)) {
return; // Skip duplicate request
}
// Add new request to queue
_lobbyRequestQueue.add(remoteData);
// If no dialog is currently showing, process the queue
if (!_isShowingDialog) {
_processNextLobbyRequest();
}
}