AdvertisingSettings constructor

AdvertisingSettings({
  1. int? advertisingMode,
  2. int? advertisingTxPower,
  3. int? manufacturerId,
  4. List<int>? manufacturerData,
  5. String? serviceUuid,
})

Implementation

factory AdvertisingSettings({
  $core.int? advertisingMode,
  $core.int? advertisingTxPower,
  $core.int? manufacturerId,
  $core.List<$core.int>? manufacturerData,
  $core.String? serviceUuid,
}) {
  final $result = create();
  if (advertisingMode != null) {
    $result.advertisingMode = advertisingMode;
  }
  if (advertisingTxPower != null) {
    $result.advertisingTxPower = advertisingTxPower;
  }
  if (manufacturerId != null) {
    $result.manufacturerId = manufacturerId;
  }
  if (manufacturerData != null) {
    $result.manufacturerData = manufacturerData;
  }
  if (serviceUuid != null) {
    $result.serviceUuid = serviceUuid;
  }
  return $result;
}