RequestDeviceOptions constructor

RequestDeviceOptions({
  1. Iterable<BluetoothLEScanFilterInit>? filters,
  2. Iterable? optionalServices,
  3. Iterable<int>? optionalManufacturerData,
  4. bool? acceptAllDevices,
})

Implementation

factory RequestDeviceOptions(
        {Iterable<BluetoothLEScanFilterInit>? filters,
        Iterable<dynamic>? optionalServices,
        Iterable<int>? optionalManufacturerData,
        bool? acceptAllDevices}) =>
    RequestDeviceOptions._(
        filters: filters ?? undefined,
        optionalServices: optionalServices ?? const [],
        optionalManufacturerData: optionalManufacturerData ?? const [],
        acceptAllDevices: acceptAllDevices ?? false);