CommentReplyView constructor
const
CommentReplyView({
- required Comment comment,
- required Person creator,
- required Post post,
- required Community community,
- @JsonKey.new(name: 'comment_reply') required CommentReply commentReply,
- CommentAggregates? counts,
- @JsonKey.new(name: 'activity_alert') bool? activityAlert,
- required bool saved,
- @JsonKey.new(name: 'my_vote') int? myVote,
- @JsonKey.new(fromJson: _subscribedFromJson) SubscribedType? subscribed,
- bool? distinguished,
Implementation
const factory CommentReplyView({
required Comment comment,
required Person creator,
required Post post,
required Community community,
@JsonKey(name: 'comment_reply') required CommentReply commentReply,
CommentAggregates? counts,
@JsonKey(name: 'activity_alert') bool? activityAlert,
required bool saved,
@JsonKey(name: 'my_vote') int? myVote,
@JsonKey(fromJson: _subscribedFromJson) SubscribedType? subscribed,
bool? distinguished,
}) = _CommentReplyView;