Discussion constructor

Discussion({
  1. required int? id,
  2. required String? category,
  3. required String? parentAuthor,
  4. required String? parentPermlink,
  5. required String? author,
  6. required String? permlink,
  7. required String? title,
  8. required String? body,
  9. required String? lastUpdate,
  10. required String? created,
  11. required String? active,
  12. required String? lastPayout,
  13. required int? depth,
  14. required int? children,
  15. required int? netRshares,
  16. required int? absRshares,
  17. required String? voteRshares,
  18. required String? childrenAbsRshares,
  19. required String? cashoutTime,
  20. required String? maxCashoutTime,
  21. required int? totalVoteWeight,
  22. required int? rewardWeight,
  23. required DiscussionAsset? totalPayoutValue,
  24. required DiscussionAsset? curatorPayoutValue,
  25. required String? authorRewards,
  26. required int? netVotes,
  27. required int? rootComment,
  28. required String? maxAcceptedPayout,
  29. required int? percentHbd,
  30. required bool? allowReplies,
  31. required bool? allowVotes,
  32. required bool? allowCurationRewards,
  33. required List<BeneficiaryRoute>? beneficiaries,
  34. String? url,
  35. String? rootTitle,
  36. double? payout,
  37. DiscussionAsset? pendingPayoutValue,
  38. String? payoutAt,
  39. DiscussionAsset? totalPendingPayoutValue,
  40. List<ActiveVote>? activeVotes,
  41. List<String>? replies,
  42. double? authorReputation,
  43. DiscussionAsset? promoted,
  44. dynamic firstRebloggedBy,
  45. dynamic firstRebloggedOn,
  46. List<String>? rebloggedBy,
  47. JsonMetadata? jsonMetadata,
  48. String? community,
  49. String? communityTitle,
  50. Stats? stats,
})

Implementation

Discussion({
  required super.id,
  required super.category,
  required super.parentAuthor,
  required super.parentPermlink,
  required super.author,
  required super.permlink,
  required super.title,
  required super.body,
  required super.lastUpdate,
  required super.created,
  required super.active,
  required super.lastPayout,
  required super.depth,
  required super.children,
  required super.netRshares,
  required super.absRshares,
  required super.voteRshares,
  required super.childrenAbsRshares,
  required super.cashoutTime,
  required super.maxCashoutTime,
  required super.totalVoteWeight,
  required super.rewardWeight,
  required super.totalPayoutValue,
  required super.curatorPayoutValue,
  required super.authorRewards,
  required super.netVotes,
  required super.rootComment,
  required super.maxAcceptedPayout,
  required super.percentHbd,
  required super.allowReplies,
  required super.allowVotes,
  required super.allowCurationRewards,
  required super.beneficiaries,
  this.url,
  this.rootTitle,
  this.payout,
  this.pendingPayoutValue,
  this.payoutAt,
  this.totalPendingPayoutValue,
  this.activeVotes,
  this.replies,
  this.authorReputation,
  this.promoted,
  this.firstRebloggedBy,
  this.firstRebloggedOn,
  this.rebloggedBy,
  this.jsonMetadata,
  this.community,
  this.communityTitle,
  this.stats
});