Question: How can I request permission for accessing the device microphone for recording audio in Flutter?
I have tried looking this up but haven't been able to find a clear answer.

Answer: 
I fixed this issue by turning on developer mode as the logs suggest. Go to your Settings, search for Developer settings and enable it from there. Now restart the IDE and try again.
I don't know if this is the correct way but I solved it by running vscode as administrator.