Story<Content> constructor

Story<Content>({
  1. required String name,
  2. required DateTime createdAt,
  3. DateTime? publishedAt,
  4. required int id,
  5. required String uuid,
  6. required Content content,
  7. required String slug,
  8. required String fullSlug,
  9. String? sortByDate,
  10. required int position,
  11. required List tagList,
  12. required bool isStartpage,
  13. int? parentId,
  14. dynamic metaData,
  15. required String groupId,
  16. DateTime? firstPublishedAt,
  17. int? releaseId,
  18. required String language,
  19. dynamic path,
  20. required List alternates,
  21. dynamic defaultFullSlug,
  22. dynamic translatedSlugs,
})

Implementation

Story({
  required this.name,
  required this.createdAt,
  this.publishedAt,
  required this.id,
  required this.uuid,
  required this.content,
  required this.slug,
  required this.fullSlug,
  this.sortByDate,
  required this.position,
  required this.tagList,
  required this.isStartpage,
  this.parentId,
  this.metaData,
  required this.groupId,
  this.firstPublishedAt,
  this.releaseId,
  required this.language,
  this.path,
  required this.alternates,
  this.defaultFullSlug,
  this.translatedSlugs,
});