offset method

int offset(
  1. int offset
)

Returns the offset of the enumeration.

Implementation

int offset(int offset) => enumeration - offset;