bytesToHex function

String bytesToHex(
  1. Uint8List bytes
)

Implementation

String bytesToHex(Uint8List bytes) {
  return bytes.map((byte) => byte.toRadixString(16).padLeft(2, '0')).join();
}