index property Null safety
inherited
A numeric identifier for the enumerated value.
The values of a single enumeration are numbered
consecutively from zero to one less than the
number of values.
This is also the index of the value in the
enumerated type's static values
list.
Implementation
int get index;