setBit method
Returns with the n
th bit from value set.
Throws RangeError if n
is out of range.
Implementation
@nonVirtual
T setBit(int n) {
_assertMaxBits(n, 'n');
return wrapSafeValue(value.setBit(n));
}
Returns with the n
th bit from value set.
Throws RangeError if n
is out of range.
@nonVirtual
T setBit(int n) {
_assertMaxBits(n, 'n');
return wrapSafeValue(value.setBit(n));
}