RequestFilter constructor
RequestFilter({})
Implementation
RequestFilter({
/// A list of URLs or URL patterns. Requests that cannot match any of the
/// URLs will be filtered out.
required List<String> urls,
/// A list of request types. Requests that cannot match any of the types
/// will be filtered out.
List<ResourceType>? types,
int? tabId,
int? windowId,
}) : _wrapped = $js.RequestFilter(
urls: urls.toJSArray((e) => e),
types: types?.toJSArray((e) => e.toJS),
tabId: tabId,
windowId: windowId,
);