NotificationFlowResult enum

Result of running the full notification permission flow.

Returned by NotificationService.runNotificationPermissionFlow to indicate how the flow completed.

Inheritance
Available extensions

Values

granted → const NotificationFlowResult

Permission granted (newly or already had it).

alreadyGranted → const NotificationFlowResult

Permission was already granted, FCM initialized silently.

declinedValueProposition → const NotificationFlowResult

User declined at value proposition dialog.

deniedPermission → const NotificationFlowResult

User denied the system permission request.

deniedPermanently → const NotificationFlowResult

User denied permanently (iOS or Android "Don't ask again").

skippedAskAgain → const NotificationFlowResult

User chose not to ask again after previous denial (denied state).

skippedGoToSettings → const NotificationFlowResult

Skipped go-to-settings prompt due to config (showGoToSettingsPrompt=false, or timing/count limits reached).

declinedGoToSettings → const NotificationFlowResult

User declined to go to settings when prompted.

openedSettings → const NotificationFlowResult

User was directed to system settings (mobile platforms). The app cannot know if the user actually enabled notifications there.

shownWebInstructions → const NotificationFlowResult

Web: User accepted the go-to-settings prompt but browser settings cannot be opened programmatically. The app should show manual instructions. This is distinct from openedSettings which is used on mobile platforms.

fcmDisabled → const NotificationFlowResult

FCM is disabled in configuration.

error → const NotificationFlowResult

An error occurred.

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<NotificationFlowResult>
A constant List of the values in this enum, in order of their declaration.