Everything constructor
Everything({String query, List<String> sources, List<String> domains, List<String> excludeDomains, DateTime from, DateTime to, String language, SortBy sortBy, int pageSize: 20, int page })
Implementation
Everything({
this.query,
this.sources,
this.domains,
this.excludeDomains,
this.from,
this.to,
this.language,
this.sortBy,
this.pageSize: 20,
this.page,
}) : assert((query != null && query.isNotEmpty) ||
sources != null ||
(domains != null && domains.isNotEmpty)),
assert(pageSize < 101 && pageSize > 0);