getUnchecked method

bool getUnchecked(
  1. int index
)

Returns the value of the bit with the given index. The behavior is undefined if index is outside of bounds.

Implementation

@pragma('vm:prefer-inline')
@pragma('dart2js:tryInline')
bool getUnchecked(int index) =>
    (buffer[index >> bitShift] & bitSetMask[index & bitOffset]) != 0;