checkMicrophonePermissionMac method
Check microphone permission status on macOS
Implementation
@override
Future<String> checkMicrophonePermissionMac() async {
try {
final result = await methodChannel.invokeMethod(
'checkMicrophonePermissionMac',
);
return result ?? 'denied';
} on PlatformException catch (e) {
debugPrint('Error checking macOS microphone permission: ${e.message}');
return 'denied';
}
}