toHex method
Computes a hexadecimal representation of the barcode, mostly for testing purposes
Implementation
@override
String toHex(String data) {
var result = 0;
for (var bit in convertHM(data)) {
result = (result << 2) + bit.index;
}
return result.toRadixString(16);
}