h static method

String h(
  1. String hex
)

Implementation

static String h(String hex) {
  return hex.length.isOdd ? '0$hex' : hex;
}