hexToBinary static method

String hexToBinary(
  1. String hex
)

Converts a hex string to a binary string

Implementation

static String hexToBinary(String hex) {
  return BigInt.parse(hex, radix: 16).toRadixString(2);
}