asInt64 property

BigInt get asInt64

Implementation

BigInt get asInt64 {
  if (this > maxInt64 || this < minInt64) {
    throw ArgumentException("Invalid Signed BigInt 64.", details: {
      "excepted": maxU64.bitLength,
      "bitLength": bitLength,
      "value": toString()
    });
  }
  return this;
}