hex16 property

String hex16

Implementation

String get hex16 {
  if (this < 0 || this > 0xFFFF) throw Exception('Invalid data!');
  return toRadixString(16).toUpperCase().padLeft(4, '0');
}