mac property

List<int>? mac

MAC. Field 64 or 128.

Must be 16 characters.

Implementation

List<int>? get mac => _mac;
void mac=(List<int>? value)

Implementation

set mac(List<int>? value) {
  final v = value;

  assert(
    v == null || v.length == 8,
    'MAC should be null or 8 bytes.',
  );

  if (v == null) {
    _bmp[64] = false;
    _mac = null;
  } else {
    _bmp[64] = true;
    _mac = value;
  }
}