toHexString method
Returns a hexadecimal string representation of this byte array.
separator
optional separator between hex values
Implementation
String toHexString([String separator = '']) {
return _bytes.map((b) => b.toRadixString(16).padLeft(2, '0')).join(separator);
}