biggestVal static method

  1. @protected
BigInt biggestVal(
  1. int width
)

Returns the largest value that can fit within width.

Implementation

@protected
static BigInt biggestVal(int width) => BigInt.two.pow(width) - BigInt.one;