isNotificationPolicyAccessGranted method
Checks if the Notification Policy Access is granted.
Returns true
if access is granted, otherwise false
.
Implementation
@override
Future<bool> isNotificationPolicyAccessGranted() async {
final granted = await methodChannel
.invokeMethod<bool>('isNotificationPolicyAccessGranted');
return granted ?? false;
}