filters property

List<DeviceFilter>? get filters

A device matching any given filter will be returned. An empty filter list will return all devices the app has permission for.

Implementation

List<DeviceFilter>? get filters => _wrapped.filters?.toDart
    .cast<$js.DeviceFilter>()
    .map((e) => DeviceFilter.fromJS(e))
    .toList();
set filters (List<DeviceFilter>? v)

Implementation

set filters(List<DeviceFilter>? v) {
  _wrapped.filters = v?.toJSArray((e) => e.toJS);
}