toHex static method

String toHex(
  1. List<int> data
)

Implementation

static String toHex(List<int> data) {
  var hex = data.map((e) => e.toRadixString(16).padLeft(2, '0')).join();
  return hex;
}