flipUnchecked method

void flipUnchecked(
  1. int index
)

Sets the bit at the specified index to the complement of its current value. The behavior is undefined if index is outside of bounds.

Implementation

@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
void flipUnchecked(int index) =>
    buffer[index >> bitShift] ^= bitSetMask[index & bitOffset];