WebSearchConfig constructor
const
WebSearchConfig({
- int? maxUses,
- int? maxResults,
- List<
String> ? allowedDomains, - List<
String> ? blockedDomains, - WebSearchLocation? location,
- String? mode,
- String? fromDate,
- String? toDate,
- WebSearchType? searchType,
- WebSearchContextSize? contextSize,
- String? searchPrompt,
- WebSearchStrategy strategy = WebSearchStrategy.auto,
- 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,
});