BluetoothPermissionDescriptor constructor

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

Implementation

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