DiscussionBy constructor

const DiscussionBy({
  1. required int postId,
  2. required String author,
  3. required String permlink,
  4. required String category,
  5. required String title,
  6. required String body,
  7. required JsonMetadata jsonMetadata,
  8. required DateTime created,
  9. required DateTime lastUpdate,
  10. required int depth,
  11. required int children,
  12. required int netRshares,
  13. required DateTime lastPayout,
  14. required DateTime cashoutTime,
  15. required String totalPayoutValue,
  16. required String pendingPayoutValue,
  17. required String curatorPayoutValue,
  18. required String promoted,
  19. required List<String> replies,
  20. required int bodyLength,
  21. required double authorReputation,
  22. required String parentAuthor,
  23. required String parentPermlink,
  24. required String url,
  25. required String rootTitle,
  26. required List<Beneficiary> beneficiaries,
  27. required String maxAcceptedPayout,
  28. required int percentHbd,
  29. required List<ActiveVote> activeVotes,
})

Implementation

const DiscussionBy({
  required this.postId,
  required this.author,
  required this.permlink,
  required this.category,
  required this.title,
  required this.body,
  required this.jsonMetadata,
  required this.created,
  required this.lastUpdate,
  required this.depth,
  required this.children,
  required this.netRshares,
  required this.lastPayout,
  required this.cashoutTime,
  required this.totalPayoutValue,
  required this.pendingPayoutValue,
  required this.curatorPayoutValue,
  required this.promoted,
  required this.replies,
  required this.bodyLength,
  required this.authorReputation,
  required this.parentAuthor,
  required this.parentPermlink,
  required this.url,
  required this.rootTitle,
  required this.beneficiaries,
  required this.maxAcceptedPayout,
  required this.percentHbd,
  required this.activeVotes,
});