toInt property

int toInt

The enum value converted to an integer

Implementation

int get toInt {
  return map<int>(
    map: 0,
    maybeMap: 1,
  );
}