TopHeadlines constructor

TopHeadlines({List<String> sources, String query, Categories category, String language, String country })

Implementation

TopHeadlines({
  this.sources,
  this.query,
  this.category,
  this.language,
  this.country,
}) : assert(sources != null ||
          query != null ||
          category != null ||
          language != null ||
          country != null);