Converts the hexadecimal input and creates an int.
int hexToDartInt(String hex) { return int.parse(strip0x(hex), radix: 16); }