UserTaskState enum Null safety

The states of a UserTask.

Constants

canceled → const UserTaskState

Canceled by the user.

const UserTaskState(4)
dequeued → const UserTaskState

Removed from the AppTaskController queue.

const UserTaskState(2)
done → const UserTaskState

Done by the user.

const UserTaskState(5)
enqueued → const UserTaskState

Put on the AppTaskController queue.

const UserTaskState(1)
expired → const UserTaskState

Expired.

const UserTaskState(6)
initialized → const UserTaskState

Initialized and ready.

const UserTaskState(0)
started → const UserTaskState

Started by the user.

const UserTaskState(3)
undefined → const UserTaskState

An undefined state and cannot be used. Task should be ignored.

const UserTaskState(7)
values → const List<UserTaskState>

A constant List of the values in this enum, in order of their declaration.

const List<UserTaskState>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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