FeedPost constructor
const
FeedPost({
- Key? key,
- required PostModel postData,
- required UserModel? currentUser,
- required int? likeId,
- required int? dislikeId,
- required int? saveId,
- required List<
String> images, - required int? commentsLength,
- required List<
PostModel> postsList, - required List<
PollOptionModel> ? pollOptionsList, - required List<
PollOptionModel> ? generalPollOptionsList, - required List<
PollVoteModel?> ? pollVotesList, - required dynamic loc,
- 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);