WebSearchConfig.news constructor
Create a news search configuration
Implementation
factory WebSearchConfig.news({
int maxResults = 10,
String? fromDate,
String? toDate,
}) =>
WebSearchConfig(
maxResults: maxResults,
fromDate: fromDate,
toDate: toDate,
mode: 'auto',
searchType: WebSearchType.news,
);