isNotificationPolicyAccessGranted property
Required to call this function for devices with API 24 and above. Gets notification policy access status.
Implementation
static Future<bool> get isNotificationPolicyAccessGranted async {
if(!Platform.isAndroid) {
return true;
}
final isGranted = await _channel.invokeMethod("isNotificationPolicyAccessGranted");
return isGranted;
}