Beacon constructor

Beacon({
  1. required String uuid,
  2. required String name,
  3. required int major,
  4. required int minor,
  5. required double rssi,
  6. int? deviceId,
  7. String? mac,
  8. int? txPower,
  9. double? distance,
  10. int? battery,
  11. bool? isRange,
  12. bool? connectable,
})

Implementation

Beacon({
  required this.uuid,
  required this.name,
  required this.major,
  required this.minor,
  required this.rssi,
  this.deviceId,
  this.mac,
  this.txPower,
  this.distance,
  this.battery,
  this.isRange,
  this.connectable,
});