hexToInt function

BigInt hexToInt(
  1. String hex
)

Takes the hexadecimal input and creates a BigInt.

Implementation

BigInt hexToInt(String hex) {
  return BigInt.parse(strip0x(hex), radix: 16);
}