Advertisement constructor

Advertisement({
  1. String? name,
  2. List<UUID> serviceUUIDs = const [],
  3. Map<UUID, Uint8List> serviceData = const {},
  4. List<ManufacturerSpecificData> manufacturerSpecificData = const [],
})

Constructs an Advertisement.

Implementation

Advertisement({
  this.name,
  this.serviceUUIDs = const [],
  this.serviceData = const {},
  this.manufacturerSpecificData = const [],
});