QueryInfo constructor

QueryInfo({
  1. required String text,
  2. Disposition? disposition,
  3. int? tabId,
})

Implementation

QueryInfo({
  /// String to query with the default search provider.
  required String text,

  /// Location where search results should be displayed.
  /// `CURRENT_TAB` is the default.
  Disposition? disposition,

  /// Location where search results should be displayed.
  /// `tabId` cannot be used with `disposition`.
  int? tabId,
}) : _wrapped = $js.QueryInfo(
        text: text,
        disposition: disposition?.toJS,
        tabId: tabId,
      );