index property

int index

A numeric identifier for the enumerated value.

Implementation

int get index => values.indexOf(this);