Importance class

The available importance levels for Android notifications.

Required for Android 8.0 or newer.

Constructors

Importance(int value)
Constructs an instance of Importance.
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
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

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

Constants

defaultImportance → const Importance
Default.
const Importance(3)
high → const Importance
High.
const Importance(4)
low → const Importance
Low.
const Importance(2)
max → const Importance
Max.
const Importance(5)
min → const Importance
Min.
const Importance(1)
none → const Importance
None.
const Importance(0)
unspecified → const Importance
Unspecified
const Importance(-1000)