ArticleSchema constructor
const
ArticleSchema({
- required String headline,
- String? description,
- String? image,
- String? datePublished,
- String? dateModified,
- ArticleAuthor? author,
- ArticlePublisher? publisher,
- List<
String> ? keywords, - String? articleBody,
- String? articleSection,
- int? wordCount,
- String? url,
- 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,
});