NotificationPermissionStatus enum
Describes the possible outcomes of checking notification permissions status.
ENABLED - notifications enabled in app settings and device settings DISABLED_IN_APP - notifications disabled in app settings but not disabled in device settings DISABLED_IN_DEVICE_SETTINGS - notifications disabled in device settings NOT_SET - we've never asked or checked
Constructors
- NotificationPermissionStatus(String displayValue)
-
const
Values
- ENABLED → const NotificationPermissionStatus
-
Notifications enabled in app settings and device settings
const NotificationPermissionStatus('ENABLED')
- DISABLED_IN_APP → const NotificationPermissionStatus
-
Notifications disabled in app settings but not disabled in device settings
const NotificationPermissionStatus('DISABLED_IN_APP')
- DISABLED_IN_DEVICE_SETTINGS → const NotificationPermissionStatus
-
Notifications disabled in device settings
const NotificationPermissionStatus('DISABLED_IN_DEVICE_SETTINGS')
- NOT_SET → const NotificationPermissionStatus
-
We've never checked
const NotificationPermissionStatus('NOT_SET')
Properties
- displayValue → String
-
Display value
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- 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
-
toDisplayValue(
) → String - Get enum as display value string
-
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.