asUint64 property

BigInt get asUint64

Implementation

BigInt get asUint64 {
  if (isNegative || this > maxU64) {
    throw ArgumentException("Invalid Unsigned BigInt 64.", details: {
      "excepted": maxU64.bitLength,
      "bitLength": bitLength,
      "value": toString()
    });
  }
  return this;
}