toMac method

String toMac()

Implementation

String toMac() {
  final one = _hexEncode(_bytes.sublist(0, 1));
  final two = _hexEncode(_bytes.sublist(1, 2));
  final three = _hexEncode(_bytes.sublist(2, 3));
  final four = _hexEncode(_bytes.sublist(3, 4));
  final five = _hexEncode(_bytes.sublist(4, 5));
  final six = _hexEncode(_bytes.sublist(5, 6));
  return '$one:$two:$three:$four:$five:$six'.toUpperCase();
}