DiscussionNode constructor

const DiscussionNode({
  1. required int commentCount,
  2. required String id,
  3. required Comment lastComment,
  4. required bool pinned,
  5. required Post post,
  6. required List<Tag> tags,
  7. required String title,
  8. required int viewCount,
})

Implementation

const factory DiscussionNode({
  required int commentCount,
  required String id,
  required Comment lastComment,
  required bool pinned,
  required Post post,
  required List<Tag> tags,
  required String title,
  required int viewCount,
}) = _DiscussionNode;