NotificationPermissionStatus enum
Explicit status of a NotificationPermission on the current platform.
Values
- granted → const NotificationPermissionStatus
-
The permission is granted.
- denied → const NotificationPermissionStatus
-
The permission was denied by the user or is disabled in system settings.
- notDetermined → const NotificationPermissionStatus
-
The permission has not been requested yet, or the platform cannot distinguish it from a denial until the first request dialog is shown.
- notSupported → const NotificationPermissionStatus
-
The permission is not supported on this platform or project configuration (for example, Critical Alerts without the Apple entitlement on iOS).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
NotificationPermissionStatus> - A constant List of the values in this enum, in order of their declaration.