Story constructor

Story(
  1. String id,
  2. String url,
  3. String content,
  4. DateTime createdAt,
  5. StoryType? mediaType,
  6. int commentCount,
  7. int likeCount,
  8. List<StoryImage>? media,
  9. List<StoryLike>? likes,
  10. List<StoryComment>? comments,
  11. StoryPermission? permission,
)

Implementation

Story(
    this.id,
    this.url,
    this.content,
    this.createdAt,
    this.mediaType,
    this.commentCount,
    this.likeCount,
    this.media,
    this.likes,
    this.comments,
    this.permission);