PostInfo constructor

const PostInfo({
  1. required List<ActiveVote> activeVotes,
  2. required String? app,
  3. required String author,
  4. required double authorCurveExponent,
  5. String? authorPayoutBeneficiaries,
  6. required String authorperm,
  7. required int beneficiariesPayoutValue,
  8. required int block,
  9. required DateTime cashoutTime,
  10. required int children,
  11. required DateTime created,
  12. required int curatorPayoutValue,
  13. required bool declinePayout,
  14. required String desc,
  15. required bool hive,
  16. required String jsonMetadata,
  17. required DateTime lastPayout,
  18. required DateTime lastUpdate,
  19. required bool mainPost,
  20. required bool muted,
  21. String? parentAuthor,
  22. String? parentPermlink,
  23. required int pendingToken,
  24. required int precision,
  25. required int promoted,
  26. required double scoreHot,
  27. required double scorePromoted,
  28. required double scoreTrend,
  29. required String tags,
  30. required String title,
  31. required String token,
  32. required int totalPayoutValue,
  33. required int totalVoteWeight,
  34. required int voteRshares,
})

Implementation

const PostInfo({
  required this.activeVotes,
  required this.app,
  required this.author,
  required this.authorCurveExponent,
  this.authorPayoutBeneficiaries,
  required this.authorperm,
  required this.beneficiariesPayoutValue,
  required this.block,
  required this.cashoutTime,
  required this.children,
  required this.created,
  required this.curatorPayoutValue,
  required this.declinePayout,
  required this.desc,
  required this.hive,
  required this.jsonMetadata,
  required this.lastPayout,
  required this.lastUpdate,
  required this.mainPost,
  required this.muted,
  this.parentAuthor,
  this.parentPermlink,
  required this.pendingToken,
  required this.precision,
  required this.promoted,
  required this.scoreHot,
  required this.scorePromoted,
  required this.scoreTrend,
  required this.tags,
  required this.title,
  required this.token,
  required this.totalPayoutValue,
  required this.totalVoteWeight,
  required this.voteRshares,
});