toHexString method
Implementation
String toHexString({bool padded = true}) {
final hex =
'${_hi.toRadixString(16).padLeft(8, '0')}'
'${_lo.toRadixString(16).padLeft(8, '0')}';
return padded ? hex : hex.replaceFirst(RegExp(r'^0+(?=.)'), '');
}