hex2int static method

List<int> hex2int(
  1. String hexStr
)

Implementation

static List<int> hex2int(String hexStr) {
  return
    RegExp(r"[0-9a-fA-F]{2}")
    .allMatches(hexStr)
    .map((e) => int.parse(e.group(0)!, radix: 16))
    .toList();
}