ContextFilter constructor

ContextFilter({
  1. List<ContextType>? contextTypes,
  2. List<String>? contextIds,
  3. List<int>? tabIds,
  4. List<int>? windowIds,
  5. List<String>? documentIds,
  6. List<int>? frameIds,
  7. List<String>? documentUrls,
  8. List<String>? documentOrigins,
  9. bool? incognito,
})

Implementation

ContextFilter({
  List<ContextType>? contextTypes,
  List<String>? contextIds,
  List<int>? tabIds,
  List<int>? windowIds,
  List<String>? documentIds,
  List<int>? frameIds,
  List<String>? documentUrls,
  List<String>? documentOrigins,
  bool? incognito,
}) : _wrapped = $js.ContextFilter(
        contextTypes: contextTypes?.toJSArray((e) => e.toJS),
        contextIds: contextIds?.toJSArray((e) => e),
        tabIds: tabIds?.toJSArray((e) => e),
        windowIds: windowIds?.toJSArray((e) => e),
        documentIds: documentIds?.toJSArray((e) => e),
        frameIds: frameIds?.toJSArray((e) => e),
        documentUrls: documentUrls?.toJSArray((e) => e),
        documentOrigins: documentOrigins?.toJSArray((e) => e),
        incognito: incognito,
      );