DiscoveryPriority enum
Lower value == evaluated first when multiple tips match the same event.
- critical: always evaluated, ignores the session lock, and can chain with other critical tips in a single emit. Use for permission prompts and data-disclosure notices.
- standard: respects the session lock; when it fires it claims the lock and ends the chain for that emit.
- optional: behaves like standard but intended as a lower-weight tier for nice-to-have hints.
- tip: respects the session lock AND is suppressed by a held lock. Use for lightweight coach marks that should never stack on top of something else the user just dismissed.
Values
- critical → const DiscoveryPriority
- standard → const DiscoveryPriority
- optional → const DiscoveryPriority
- tip → const DiscoveryPriority
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<
DiscoveryPriority> - A constant List of the values in this enum, in order of their declaration.