Here are the steps to enable notch on your Emulator.
-> Open Settings
-> Click System
-> If Developer options are not enabled, then Select About Emulated device
-> Continuously click on Build number
-> you will get a message stating that developer options are enabled
-> Go back one step
-> Click Developer Options
-> Scroll down to Drawing section
-> Simulate a display with a cutout and explore the options there.
Thanks,
Srikanth