ResNews constructor

ResNews({
  1. List<News>? news,
  2. int? total,
  3. String? perPage,
  4. int? currentPage,
  5. String? nextPageUrl,
  6. dynamic previousPageUrl,
})

Implementation

ResNews(
    {this.news,
    this.total,
    this.perPage,
    this.currentPage,
    this.nextPageUrl,
    this.previousPageUrl});