Identifier constructor

Identifier({
  1. String ble = '',
  2. String wifi = '',
})

Creates a Identifier object.

If ble is given, then it defines the MAC address using when dealing with Bluetooth Low Energy.

If wifi is given, then it defines the MAC address using when dealing with Wi-Fi Direct.

Implementation

Identifier({String ble = '', String wifi = ''}) {
  this.ble = ble;
  this.wifi = wifi;
}