BluetoothLEScanOptions constructor

BluetoothLEScanOptions({
  1. List<BluetoothScanFilter> filters,
  2. bool keepRepeatedDevices,
  3. bool acceptAllAdvertisements,
})

A constructor for Bluetooth LE scan options.

Because of how the conversion to JS works, there is a difference between leaving an item blank in this constructor and setting it to null.

Implementation

external factory BluetoothLEScanOptions(
    {final List<BluetoothScanFilter> filters,
    final bool keepRepeatedDevices,
    final bool acceptAllAdvertisements});