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