RequestOptions constructor
RequestOptions({
- List<
BluetoothScanFilter> filters, - List<
BluetoothScanFilter> exclusionFilters, - List optionalServices,
- List optionalManufacturerData,
- bool acceptAllDevices,
A constructor for new request 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 RequestOptions(
{final List<BluetoothScanFilter> filters,
final List<BluetoothScanFilter> exclusionFilters,
final List<dynamic> optionalServices,
final List<dynamic> optionalManufacturerData,
final bool acceptAllDevices});