granted property

bool get granted

Whether the OS will deliver notifications to this app instance.

Implementation

bool get granted =>
    status == NotificationAuthorization.authorized ||
    status == NotificationAuthorization.provisional ||
    status == NotificationAuthorization.ephemeral;