WebSearchConfig constructor

const WebSearchConfig({
  1. int? maxUses,
  2. int? maxResults,
  3. List<String>? allowedDomains,
  4. List<String>? blockedDomains,
  5. WebSearchLocation? location,
  6. String? mode,
  7. String? fromDate,
  8. String? toDate,
  9. WebSearchType? searchType,
  10. WebSearchContextSize? contextSize,
  11. String? searchPrompt,
  12. WebSearchStrategy strategy = WebSearchStrategy.auto,
  13. bool enabled = true,
})

Implementation

const WebSearchConfig({
  this.maxUses,
  this.maxResults,
  this.allowedDomains,
  this.blockedDomains,
  this.location,
  this.mode,
  this.fromDate,
  this.toDate,
  this.searchType,
  this.contextSize,
  this.searchPrompt,
  this.strategy = WebSearchStrategy.auto,
  this.enabled = true,
});