hexToInt static method

int hexToInt(
  1. String hex
)

Converts the hexadecimal input and creates an int.

Implementation

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