SearchQuery constructor

SearchQuery({
  1. required String text,
  2. double? startTime,
  3. double? endTime,
  4. int? maxResults,
})

Implementation

SearchQuery({
  /// A free-text query to the history service.  Leave empty to retrieve all
  /// pages.
  required String text,

  /// Limit results to those visited after this date, represented in
  /// milliseconds since the epoch. If not specified, this defaults to 24
  /// hours in the past.
  double? startTime,

  /// Limit results to those visited before this date, represented in
  /// milliseconds since the epoch.
  double? endTime,

  /// The maximum number of results to retrieve.  Defaults to 100.
  int? maxResults,
}) : _wrapped = $js.SearchQuery(
        text: text,
        startTime: startTime,
        endTime: endTime,
        maxResults: maxResults,
      );