bitRange method
Returns a new instance with bits left
to right
, inclusive.
The result is left-padded with 0's.
Throws RangeError if left
or right
is out of range.
Implementation
@nonVirtual
T bitRange(int left, int right) {
_assertMaxBits(left, 'left');
return wrapSafeValue(value.bitRange(left, right));
}