Everything constructor

Everything({String query, List<String> sources, List<String> domains, DateTime from, DateTime to, String language, SortBy sortBy, int pageSize, int page })

Implementation

Everything({
  this.query,
  this.sources,
  this.domains,
  this.from,
  this.to,
  this.language,
  this.sortBy,
  this.pageSize,
  this.page,
}) : assert((query != null && query.isNotEmpty) ||
          sources != null ||
          (domains != null && domains.isNotEmpty));