micRequestPermission method
Ask the OS for the microphone and return whether it was granted, using the
platform's own API rather than a permission package. Null where
unimplemented, so callers fall back to permission_handler. iOS only.
Implementation
@override
Future<bool?> micRequestPermission() async {
try {
return await methodChannel.invokeMethod<bool>('micRequestPermission');
} catch (_) {
return null; // unimplemented — caller falls back to permission_handler
}
}