hex8 property

String hex8

Implementation

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