SimpleArticle constructor
const
SimpleArticle({
- int id = 0,
- String title = "",
- String link = "",
- String publishedDate = "",
- String publishedSince = "",
- FeatureImage featureImage = const FeatureImage(),
- int parentCategoryId = 0,
- String parentCategory = "",
- int categoryId = 0,
- String category = "",
- String issueTitle = "",
- String issueNumber = "",
- String volumeNumber = "",
- String paragraphRawContent = "",
- String issuePublishedDate = "",
- bool isPDFArticle = false,
- String pdfURL = "",
- 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 [],
});