hexToStr function
UTF-8 hex string → string
Implementation
String hexToStr(String source) {
final bytes = <int>[];
for (var i = 0; i < source.length; i += 2) {
bytes.add(int.parse(source.substring(i, i + 2), radix: 16));
}
return utf8.decode(bytes);
}