SimpleArticle.newInstance constructor
SimpleArticle.newInstance(
- int id,
- String title,
- String link,
- String publishedDate,
- String publishedSince,
- FeatureImage featureImage,
- int parentCategoryId,
- String parentCategory,
- int categoryId,
- String category,
- String issueTitle,
- String issueNumber,
- String volumeNumber,
- String paragraphRawContent,
- String issuePublishedDate,
- bool isPDFArticle,
- String pdfURL,
- List<
String> authors,
Implementation
factory SimpleArticle.newInstance(
int id,
String title,
String link,
String publishedDate,
String publishedSince,
String teaserText,
FeatureImage featureImage,
int parentCategoryId,
String parentCategory,
int categoryId,
String category,
String issueTitle,
String issueTeaserText,
String issueNumber,
String volumeNumber,
String paragraphRawContent,
String issuePublishedDate,
bool isPDFArticle,
String pdfURL,
List<String> authors) {
return SimpleArticle(
id: id,
title: title,
link: link,
publishedDate: publishedDate,
publishedSince: publishedSince,
teaserText: teaserText,
featureImage: featureImage,
parentCategoryId: parentCategoryId,
parentCategory: parentCategory,
categoryId: categoryId,
category: category,
issueTitle: issueTitle,
issueTeaserText: issueTeaserText,
issueNumber: issueNumber,
volumeNumber: volumeNumber,
paragraphRawContent: paragraphRawContent,
issuePublishedDate: issuePublishedDate,
isPDFArticle: isPDFArticle,
pdfURL: pdfURL,
authors: authors);
}