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 this empty to retrieve
  /// all pages.
  required String text,

  /// Limit results to those visited after this date, represented in
  /// milliseconds since the epoch. If property is not specified, it will
  /// default to 24 hours.
  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,
      );