clearBit method

  1. @nonVirtual
T clearBit(
  1. int n
)

Returns with the nth bit from value cleared.

Throws RangeError if n is not in range.

Implementation

@nonVirtual
T clearBit(int n) {
  _assertMaxBits(n, 'n');
  return wrapSafeValue(value.clearBit(n));
}