Is there any logic to flip camera option?

I am not finding any option to flip the front camera to rear camera