Discussion constructor
Discussion({
- required int? id,
- required String? category,
- required String? parentAuthor,
- required String? parentPermlink,
- required String? author,
- required String? permlink,
- required String? title,
- required String? body,
- required String? lastUpdate,
- required String? created,
- required String? active,
- required String? lastPayout,
- required int? depth,
- required int? children,
- required String? cashoutTime,
- required String? maxCashoutTime,
- required int? totalVoteWeight,
- required int? rewardWeight,
- required DiscussionAsset? totalPayoutValue,
- required DiscussionAsset? curatorPayoutValue,
- required String? authorRewards,
- required int? netVotes,
- required int? rootComment,
- required String? maxAcceptedPayout,
- required int? percentHbd,
- required bool? allowReplies,
- required bool? allowVotes,
- required bool? allowCurationRewards,
- required List<
BeneficiaryRoute> ? beneficiaries, - String? url,
- String? rootTitle,
- double? payout,
- DiscussionAsset? pendingPayoutValue,
- String? payoutAt,
- DiscussionAsset? totalPendingPayoutValue,
- List<
ActiveVote> ? activeVotes, - List<
String> ? replies, - double? authorReputation,
- DiscussionAsset? promoted,
- dynamic firstRebloggedBy,
- dynamic firstRebloggedOn,
- List<
String> ? rebloggedBy, - JsonMetadata? jsonMetadata,
- String? community,
- String? communityTitle,
- 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
});