NotificationPriority enum
Represents the priority level of a notification.
Values
- min → const NotificationPriority
-
Minimum priority level.
const NotificationPriority(-2)
- low → const NotificationPriority
-
Low priority level.
const NotificationPriority(-1)
- defaultPriority → const NotificationPriority
-
Default priority level.
const NotificationPriority(0)
- high → const NotificationPriority
-
High priority level.
const NotificationPriority(1)
- max → const NotificationPriority
-
Maximum priority level.
const NotificationPriority(2)
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
- value → int
-
The numeric value of the priority.
final
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
Static Methods
-
fromValue(
int value) → NotificationPriority - Creates a notification priority from a numeric value.
Constants
-
values
→ const List<
NotificationPriority> - A constant List of the values in this enum, in order of their declaration.