setBitsAt method

void setBitsAt(
  1. int offset,
  2. int width,
  3. int value
)

Implementation

void setBitsAt(int offset, int width, int value) => bits = bits.withBitsAt(offset, width, value);