RunState enum Null safety

State of the run

Constants

cancelled → const RunState

The run was cancelled prematurely by the user. This can be the case if he doesn't want to finish his run

const RunState(4)
finished → const RunState

The run was finished in a regular matter.

const RunState(2)
running → const RunState

The run is created but not finished yet

const RunState(1)
terminated → const RunState

Was terminated by the system

(Eg. a demo run on race day)

const RunState(3)
unknown → const RunState

The run is in an unknown state

const RunState(0)
values → const List<RunState>

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

const List<RunState>

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