GhostPost constructor

GhostPost({
  1. String? slug,
  2. String? id,
  3. String? uuid,
  4. String? title,
  5. String? html,
  6. String? plaintext,
  7. String? commentId,
  8. String? featureImage,
  9. bool? featured,
  10. bool? page,
  11. String? metaTitle,
  12. String? metaDescription,
  13. DateTime? createdAt,
  14. DateTime? updatedAt,
  15. DateTime? publishedAt,
  16. String? customExcerpt,
  17. String? codeinjectionHead,
  18. String? codeinjectionFoot,
  19. String? ogImage,
  20. String? ogTitle,
  21. String? ogDescription,
  22. String? twitterImage,
  23. String? twitterTitle,
  24. String? twitterDescription,
  25. String? customTemplate,
  26. String? canonicalUrl,
  27. List<GhostAuthor>? authors,
  28. List<GhostTag>? tags,
  29. GhostAuthor? primaryAuthor,
  30. GhostTag? primaryTag,
  31. String? url,
  32. String? excerpt,
  33. String? visibility,
  34. double? readingTime,
  35. bool? access,
  36. bool? comments,
  37. String? featureImageAlt,
  38. String? featureImageCaption,
})

Implementation

GhostPost({
  this.slug,
  this.id,
  this.uuid,
  this.title,
  this.html,
  this.plaintext,
  this.commentId,
  this.featureImage,
  this.featured,
  this.page,
  this.metaTitle,
  this.metaDescription,
  this.createdAt,
  this.updatedAt,
  this.publishedAt,
  this.customExcerpt,
  this.codeinjectionHead,
  this.codeinjectionFoot,
  this.ogImage,
  this.ogTitle,
  this.ogDescription,
  this.twitterImage,
  this.twitterTitle,
  this.twitterDescription,
  this.customTemplate,
  this.canonicalUrl,
  this.authors,
  this.tags,
  this.primaryAuthor,
  this.primaryTag,
  this.url,
  this.excerpt,
  this.visibility,
  this.readingTime,
  this.access,
  this.comments,
  this.featureImageAlt,
  this.featureImageCaption,
});