ExecutorState enum

The state of an Executor.

The runtime state has the following state machine:

   +----------------------------------------------------------------+
   |  +---------+    +-------------+    +---------+     +---------+ |     +-----------+
   |  | created | -> | initialized | -> | started | <-> | stopped | |  -> | undefined |
   |  +---------+    +-------------+    +---------+     +---------+ |     +-----------+
   |                                       |  ^                     |
   |                                       +--+                     |
   +----------------------------------------------------------------+
Inheritance

Constructors

ExecutorState()
const

Values

created → const ExecutorState

Created and ready to be initialized.

initialized → const ExecutorState

Initialized and ready to be started.

started → const ExecutorState

Started and active in data collection.

stopped → const ExecutorState

Stopped and not collecting data.

undefined → const ExecutorState

Undefined state.

Typically an executor becomes undefined if it cannot be initialized or if this executor (probe) is not supported on the specific phone / OS.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<ExecutorState>
A constant List of the values in this enum, in order of their declaration.