Are the cities in DC Comics films and TV series allegorical in nature?
Is Gotham City considered to be an allegory of New York City/Brooklyn
Central City the allegorical Kansas City/Detroit/Chicago?
Metropolis the allegorical Boston/Philadelphia?
Star City the allegorical Pittsburgh?
Or are they meant to be fictional cities in the DC universe that exist next to the real US cities of New York/Boston/Philadelphia/Chicago/Detroit,etc.?
Marvel makes barely any mention of fake city names, and almost always uses real city names in their universe.