toHexString method
Returns a hexadecimal representation of the byte list.
Example:
final bytes = Uint8List.fromList([22, 255, 0, 32]);
print(bytes.toHexString()); //
Implementation
String toHexString() {
return map((e) => e.toRadixString(16).padLeft(2, '0')).join();
}