hexToDartInt function

int hexToDartInt(
  1. String hex
)

Converts the hexadecimal input and creates an int.

Implementation

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