hexToUint8List function
Encode an hexadecimal string into a Uint8List @param {Uint8List} hexString Hexadecimal string
Implementation
Uint8List hexToUint8List(String hexString) {
final List<int> bytes = Base16Encoder.instance.decode(hexString);
return Uint8List.fromList(bytes);
}