toHex method

String toHex()

Implementation

String toHex() {
  return '0x${value.toRadixString(16)}';
}