hexToDartInt function

int hexToDartInt(
  1. String hex
)

Converts the hexadecimal input and creates an int.

Implementation

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