toHexString method Null safety

String toHexString()

Implementation

String toHexString() {
  return '#${value.toRadixString(16).padLeft(8, '0')}';
}