EnumerateDevicesOptions constructor

EnumerateDevicesOptions({
  1. int? vendorId,
  2. int? productId,
  3. List<DeviceFilter>? filters,
})

Implementation

EnumerateDevicesOptions({
  int? vendorId,
  int? productId,

  /// A device matching any given filter will be returned. An empty filter
  /// list
  /// will return all devices the app has permission for.
  List<DeviceFilter>? filters,
}) : _wrapped = $js.EnumerateDevicesOptions(
        vendorId: vendorId,
        productId: productId,
        filters: filters?.toJSArray((e) => e.toJS),
      );