BluetoothScanFilter constructor
BluetoothScanFilter({
- List<
String> ? services, - String? name,
- String? namePrefix,
- List<
BluetoothManufacturerDataFilter> ? manufacturerData, - List<
BluetoothServiceDataFilter> ? serviceData,
The constructor of the request filter.
Because of how the js conversion works setting a value to null is not the same as leaving it undefined. Use BluetoothScanFilterHelper.createScanFilterObject to get around this problem.
Implementation
external factory BluetoothScanFilter(
{final List<String>? services,
final String? name,
final String? namePrefix,
final List<BluetoothManufacturerDataFilter>? manufacturerData,
final List<BluetoothServiceDataFilter>? serviceData});