SimpleArticle constructor

const SimpleArticle({
  1. int id = 0,
  2. String title = "",
  3. String link = "",
  4. String publishedDate = "",
  5. String publishedSince = "",
  6. String teaserText = "",
  7. FeatureImage featureImage = const FeatureImage(),
  8. int parentCategoryId = 0,
  9. String parentCategory = "",
  10. int categoryId = 0,
  11. String category = "",
  12. String issueTitle = "",
  13. String issueTeaserText = "",
  14. String issueNumber = "",
  15. String volumeNumber = "",
  16. String paragraphRawContent = "",
  17. String issuePublishedDate = "",
  18. bool isPDFArticle = false,
  19. String pdfURL = "",
  20. List<String> authors = const [],
})

Implementation

const SimpleArticle({
  this.id = 0,
  this.title = "",
  this.link = "",
  this.publishedDate = "",
  this.publishedSince = "",
  this.teaserText = "",
  this.featureImage = const FeatureImage(),
  this.parentCategoryId = 0,
  this.parentCategory = "",
  this.categoryId = 0,
  this.category = "",
  this.issueTitle = "",
  this.issueTeaserText = "",
  this.issueNumber = "",
  this.volumeNumber = "",
  this.paragraphRawContent = "",
  this.issuePublishedDate = "",
  this.isPDFArticle = false,
  this.pdfURL = "",
  this.authors = const [],
});