asUint256 property
BigInt
get
asUint256
Implementation
BigInt get asUint256 {
if (isNegative || this > maxU256) {
throw ArgumentException("Invalid Unsigned BigInt 256.", details: {
"expected": maxU256.bitLength,
"bitLength": bitLength,
"value": toString()
});
}
return this;
}