int2hex static method

String? int2hex(
  1. List<int>? intList
)

Implementation

static String? int2hex(List<int>? intList) {
  if (intList != null) {
    return
    intList
      .map((e) {
        String hex = e.toRadixString(16);

        if (hex.length == 1) {
          hex = '0$hex';
        }

        return hex;
      }
    )
      .join("");
  } else {
    return null;
  }

}