requestAudioPermission method

  1. @override
Future<bool> requestAudioPermission()
override

Attempt to grant mic access. Shows the in-app system prompt when the OS is willing to surface one (fresh install, or a first denial that's still retryable on Android); on permanent denial, deep-links into Settings and resolves to false. Returns the post-call granted state. Avoids the fresh-install trap where the mic entry isn't in the Privacy pane until requestAccess has fired at least once.

Implementation

@override
Future<bool> requestAudioPermission() =>
    _invoke<bool>('requestAudioPermission');