hasPostNotificationsPermission method
Check if the post notifications permission is granted or not.
Returns true
if the permission is granted, false
otherwise.
In Android versions prior to Android 13 (Tiramisu)
, this method will always return true
.
Implementation
Future<bool> hasPostNotificationsPermission() {
return DashBubblePlatform.instance.hasPostNotificationsPermission();
}