getIdAsString method

String? getIdAsString()

Get TX id as "0x..." = 2 chars 0x + 64 chars hex @return or null.

Implementation

String? getIdAsString() {
  Uint8List? b = getId();
  return b == null ? null : "0x" + bytesToHex(b);
}