flags property

Map<T, int> flags
getter/setter pair

Maps instances of T to their power-of-two values.

Implementation

Map<T, int> flags = {};