Heat oven to 350 degrees Fahrenheit.
Prepare caramel by dissolving sugar in a small saucepan over low-medium heat. Once sugar comes to a boil, stir it frequently with a wooden spatula until smooth. Working quickly, pour caramelized sugar mixture into flan pan and swirl to coat the bottom and sides. Do not touch or attempt to taste caramel – it is extremely hot!
Combine evaporated and condensed milks, pumpkin, cream cheese, cinnamon, vanilla extract, and salt, and blend until smooth, about 30 seconds. Add eggs and blend another 10 seconds just until incorporated. Pour mixture into flan pan and cover with foil.
Prepare baño María (water bath) by arranging flan pan into a larger baking pan or pot (I like to use a large cast-iron pot). Pour enough hot water into the larger baking pan to come halfway up the sides of flan pan. Be careful not to splash any water into the flan.
Place in oven and bake for approximately 60 minutes (bake time will vary by oven). Lift the foil and check if the center is set. If it's still very jiggly, it needs more time. To test if your flan is ready, you can also insert a toothpick or knife into the center of the flan. If it comes out clean or mostly clean, the flan is ready. If it comes out completely wet with the custard mixture, it needs more time. Remove from oven and let water cool before removing flan pan from the water bath.
Refrigerate until ready to serve.
To de-mold flan, run a knife carefully around the edges without cutting into flan. Place plate over pan and invert onto a plate. Flan should come out easily with caramel sauce. Garnish with edible flowers or berries if desired.