isNotificationPolicyAccessGranted method

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

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;
}