FeedPost constructor

const FeedPost({
  1. Key? key,
  2. required PostModel postData,
  3. required UserModel? currentUser,
  4. required int? likeId,
  5. required int? dislikeId,
  6. required int? saveId,
  7. required List<String> images,
  8. required int? commentsLength,
  9. required List<PostModel> postsList,
  10. required List<PollOptionModel>? pollOptionsList,
  11. required List<PollOptionModel>? generalPollOptionsList,
  12. required List<PollVoteModel?>? pollVotesList,
  13. required dynamic loc,
  14. bool? play,
})

Implementation

const FeedPost({
  Key? key,
  required this.postData,
  required this.currentUser,
  required this.likeId,
  required this.dislikeId,
  required this.saveId,
  required this.images,
  required this.commentsLength,
  required this.postsList,
  required this.pollOptionsList,
  required this.generalPollOptionsList,
  required this.pollVotesList,
  required this.loc,
  this.play,
}) : super(key: key);