Checks to see if calling process has permission to record audio. The callback will be called immediately if permission has already been granted or denied. Otherwise, it presents a dialog to notify the user and allow them to choose, and calls the block once the UI has been dismissed. 'true' indicates whether permission has been granted.
for permission situation.
Generated using TypeDoc
Microphone related properties
Use Permission.requestPermission(Permissions.microphone) instead