ArticleSchema constructor

const ArticleSchema({
  1. required String headline,
  2. String? description,
  3. String? image,
  4. String? datePublished,
  5. String? dateModified,
  6. ArticleAuthor? author,
  7. ArticlePublisher? publisher,
  8. List<String>? keywords,
  9. String? articleBody,
  10. String? articleSection,
  11. int? wordCount,
  12. String? url,
  13. ArticleType articleType = ArticleType.article,
})

Implementation

const ArticleSchema({
  required this.headline,
  this.description,
  this.image,
  this.datePublished,
  this.dateModified,
  this.author,
  this.publisher,
  this.keywords,
  this.articleBody,
  this.articleSection,
  this.wordCount,
  this.url,
  this.articleType = ArticleType.article,
});