What command can be entered in the console to achieve "immersive mode" function?

This is the command to toggles Immersive mode for the viewport.

LevelEditor.ToggleImmersive