toHex64 method

String toHex64()

Same as toHexUnsigned, but ensure a width of 8 bytes (16 HEX width).

Implementation

String toHex64() {
  if (isNegative) {
    return toHexUnsigned(width: 16);
  } else {
    return toHex(width: 16);
  }
}