NewsObj constructor

NewsObj({
  1. String? oldHashId,
  2. String? hashId,
  3. String? authorName,
  4. String? content,
  5. String? sourceUrl,
  6. String? sourceName,
  7. String? title,
  8. bool? important,
  9. String? imageUrl,
  10. String? shortenedUrl,
  11. int? createdAt,
  12. int? score,
  13. List<String>? categoryNames,
  14. List<String>? relevancyTags,
  15. String? tenant,
  16. String? fbObjectId,
  17. int? fbLikeCount,
  18. String? countryCode,
  19. List<String>? targetedCity,
  20. String? bottomHeadline,
  21. String? bottomText,
  22. bool? darkerFonts,
  23. String? bottomPanelLink,
  24. String? bottomType,
  25. int? version,
  26. bool? dontShowAd,
  27. String? pollTenant,
  28. bool? videoOpinionEnabled,
  29. String? language,
  30. bool? showInshortsBrandName,
  31. bool? imageForRepresentation,
})

Implementation

NewsObj(
    {this.oldHashId,
      this.hashId,
      this.authorName,
      this.content,
      this.sourceUrl,
      this.sourceName,
      this.title,
      this.important,
      this.imageUrl,
      this.shortenedUrl,
      this.createdAt,
      this.score,
      this.categoryNames,
      this.relevancyTags,
      this.tenant,
      this.fbObjectId,
      this.fbLikeCount,
      this.countryCode,
      this.targetedCity,
      this.bottomHeadline,
      this.bottomText,
      this.darkerFonts,
      this.bottomPanelLink,
      this.bottomType,
      this.version,
      this.dontShowAd,
      this.pollTenant,
      this.videoOpinionEnabled,
      this.language,
      this.showInshortsBrandName,
      this.imageForRepresentation});