Converts a hex string to a binary string
static String hexToBinary(String hex) { return BigInt.parse(hex, radix: 16).toRadixString(2); }