hexToBigint static method

BigInt hexToBigint(
  1. String v
)

Implementation

static BigInt hexToBigint(String v) {
  if (v == "0x") return BigInt.zero;
  final val = StringUtils.strip0x(v);
  return BigInt.parse(val, radix: 16);
}