Priority class Null safety

Priority for notifications on Android 7.1 and lower.

Constructors

Priority(int value)
Constructs an instance of Priority.
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
The integer representation.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 Properties

values List<Priority>
All the possible values for the Priority enumeration.
read-only

Constants

defaultPriority → const Priority
Default.
const Priority(0)
high → const Priority
High.
const Priority(1)
low → const Priority
Low.
const Priority(-1)
max → const Priority
Max.
const Priority(2)
min → const Priority
Min.
const Priority(-2)