DevicePromptOptions constructor

DevicePromptOptions({
  1. bool? multiple,
  2. List<DeviceFilter>? filters,
})

Implementation

DevicePromptOptions({
  /// Allow the user to select multiple devices.
  bool? multiple,

  /// Filter the list of devices presented to the user. If multiple filters
  /// are
  /// provided devices matching any filter will be displayed.
  List<DeviceFilter>? filters,
}) : _wrapped = $js.DevicePromptOptions(
        multiple: multiple,
        filters: filters?.toJSArray((e) => e.toJS),
      );